@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
@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
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
@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
@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
@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
@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
@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}:
@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