From: Sergey Poznyakoff Date: Wed, 7 Dec 2005 16:17:44 +0000 (+0000) Subject: Change permissions in the sample outputs to more usual ones X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=67770b89f241608b9ff105fd3ea82c6568249b07;hp=f3e6ea7d4929936f826e51f86d713a769e39fb20;p=chaz%2Ftar Change permissions in the sample outputs to more usual ones --- diff --git a/doc/tar.texi b/doc/tar.texi index f77a19a..09c5f1a 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -1332,7 +1332,7 @@ like: @smallexample $ @kbd{tar --list --verbose --file=collection.tar folk} --rw-rw-rw- myself user 62 1990-05-23 10:55 folk +-rw-r--r-- myself user 62 1990-05-23 10:55 folk @end smallexample @cindex listing member and file names @@ -1421,10 +1421,10 @@ $ @kbd{tar --list --verbose --file=music.tar practice} @smallexample drwxrwxrwx myself user 0 1990-05-31 21:49 practice/ --rw-rw-rw- myself user 42 1990-05-21 13:29 practice/blues --rw-rw-rw- myself user 62 1990-05-23 10:55 practice/folk --rw-rw-rw- myself user 40 1990-05-21 13:30 practice/jazz --rw-rw-rw- myself user 10240 1990-05-31 21:49 practice/collection.tar +-rw-r--r-- myself user 42 1990-05-21 13:29 practice/blues +-rw-r--r-- myself user 62 1990-05-23 10:55 practice/folk +-rw-r--r-- myself user 40 1990-05-21 13:30 practice/jazz +-rw-r--r-- myself user 10240 1990-05-31 21:49 practice/collection.tar @end smallexample When you use a directory name as a file name argument, @command{tar} acts on @@ -1475,9 +1475,9 @@ $ @kbd{tar -xvf collection.tar} produces this: @smallexample --rw-rw-rw- me user 28 1996-10-18 16:31 jazz --rw-rw-rw- me user 21 1996-09-23 16:44 blues --rw-rw-rw- me user 20 1996-09-23 16:44 folk +-rw-r--r-- me user 28 1996-10-18 16:31 jazz +-rw-r--r-- me user 21 1996-09-23 16:44 blues +-rw-r--r-- me user 20 1996-09-23 16:44 folk @end smallexample @node extracting files @@ -1575,8 +1575,8 @@ in the example below: @smallexample $ @kbd{tar -xvvf music.tar practice/folk practice/jazz} --rw-rw-rw- me user 28 1996-10-18 16:31 practice/jazz --rw-rw-rw- me user 20 1996-09-23 16:44 practice/folk +-rw-r--r-- me user 28 1996-10-18 16:31 practice/jazz +-rw-r--r-- me user 20 1996-09-23 16:44 practice/folk @end smallexample @noindent @@ -3863,10 +3863,10 @@ If you now use the @option{--list} (@option{-t}) operation, you will see that @smallexample $ @kbd{tar --list --file=collection.tar} --rw-rw-rw- me user 28 1996-10-18 16:31 jazz --rw-rw-rw- me user 21 1996-09-23 16:44 blues --rw-rw-rw- me user 20 1996-09-23 16:44 folk --rw-rw-rw- me user 20 1996-09-23 16:44 rock +-rw-r--r-- me user 28 1996-10-18 16:31 jazz +-rw-r--r-- me user 21 1996-09-23 16:44 blues +-rw-r--r-- me user 20 1996-09-23 16:44 folk +-rw-r--r-- me user 20 1996-09-23 16:44 rock @end smallexample @FIXME{in theory, dan will (soon) try to turn this node into what it's @@ -3917,11 +3917,11 @@ list the contents of the archive: @smallexample $ @kbd{tar --list --verbose --file=collection.tar} --rw-rw-rw- me user 28 1996-10-18 16:31 jazz --rw-rw-rw- me user 21 1996-09-23 16:44 blues --rw-rw-rw- me user 20 1996-09-23 16:44 folk --rw-rw-rw- me user 20 1996-09-23 16:44 rock --rw-rw-rw- me user 58 1996-10-24 18:30 blues +-rw-r--r-- me user 28 1996-10-18 16:31 jazz +-rw-r--r-- me user 21 1996-09-23 16:44 blues +-rw-r--r-- me user 20 1996-09-23 16:44 folk +-rw-r--r-- me user 20 1996-09-23 16:44 rock +-rw-r--r-- me user 58 1996-10-24 18:30 blues @end smallexample @noindent @@ -3937,7 +3937,7 @@ the following example: @smallexample $ @kbd{tar --extract -vv --occurrence --file=collection.tar blues} --rw-rw-rw- me user 21 1996-09-23 16:44 blues +-rw-r--r-- me user 21 1996-09-23 16:44 blues @end smallexample @xref{Writing}, for more information on @option{--extract} and @@ -4066,11 +4066,11 @@ contain what they are supposed to: @smallexample $ @kbd{tar -tvf bluesrock.tar} --rw-rw-rw- melissa user 105 1997-01-21 19:42 blues --rw-rw-rw- melissa user 33 1997-01-20 15:34 rock +-rw-r--r-- melissa user 105 1997-01-21 19:42 blues +-rw-r--r-- melissa user 33 1997-01-20 15:34 rock $ @kbd{tar -tvf folkjazz.tar} --rw-rw-rw- melissa user 20 1996-09-23 16:44 folk --rw-rw-rw- melissa user 65 1997-01-30 14:15 jazz +-rw-r--r-- melissa user 20 1996-09-23 16:44 folk +-rw-r--r-- melissa user 65 1997-01-30 14:15 jazz @end smallexample We can concatenate these two archives with @command{tar}: @@ -9221,7 +9221,7 @@ explicitely marked as in the example below: @group $ @kbd{tar --verbose --list --file=iamanarchive} V--------- 0 0 0 1992-03-07 12:01 iamalabel--Volume Header-- --rw-rw-rw- ringo user 40 1990-05-21 13:30 iamafilename +-rw-r--r-- ringo user 40 1990-05-21 13:30 iamafilename @end group @end smallexample