[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.8.5 Commands That Will Fail

Here are some sample commands you might try which will not work, and why they won't work.

If you try to use this command,

 
$ tar -xvf music.tar folk jazz

you will get the following response:

 
tar: folk: Not found in archive
tar: jazz: Not found in archive

This is because these files were not originally in the parent directory ‘..’, where the archive is located; they were in the ‘practice’ directory, and their file names reflect this:

 
$ tar -tvf music.tar
practice/blues
practice/folk
practice/jazz

Likewise, if you try to use this command,

 
$ tar -tvf music.tar folk jazz

you would get a similar response. Members with those names are not in the archive. You must use the correct member names, or wildcards, in order to extract the files from the archive.

If you have forgotten the correct names of the files in the archive, use tar --list --verbose to list them correctly.


This document was generated by Sergey Poznyakoff on October, 20 2013 using texi2html 1.78.