Go to the previous, next section.
(This message will disappear, once this node revised.)
To extract specific files, specify them using file name arguments.
In an example above, you created the archive file `~/practice/records', which contained the files `blues', `folk' and `jazz' in the `practice' directory. If, for some reason, you were to lose one of those text files (`rm ~/practice/blues'), you could extract it from the archive file.
First, change into the `practice' directory. Then,
tar
and specify the `--extract' (`-x') or `--get'
operation.
tar
extracts all the archive members)
% tar --extract --file=records blues
If you list the contents of the directory, you will see that `blues' is back:
% ls folk jazz records blues
Go to the previous, next section.