www.delorie.com/gnu/docs/tar/tar_23.html   search  
 
Buy GNU books!


GNU tar

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

2.6 How to Extract Members from an Archive

(This message will disappear, once this node revised.)

Creating an archive is only half the job--there is no point in storing files in an archive if you can't retrieve them. The act of retrieving members from an archive so they can be used and manipulated as unarchived files again is called extraction. To extract files from an archive, use the --extract (--get, -x) operation. As with --create (-c), specify the name of the archive with --file=archive-name (-f archive-name). Extracting an archive does not modify the archive in any way; you can extract it multiple times if you want or need to.

Using `--extract', you can extract an entire archive, or specific files. The files can be directories containing other files, or not. As with --create (-c) and --list (-t), you may use the short or the long form of the operation without affecting the performance.

2.6.1 Extracting an Entire Archive  
2.6.2 Extracting Specific Files  
2.6.3 Extracting Files that are Directories  
2.6.4 Commands That Will Fail  


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)