Tuesday, June 17, 2008

tar

Use create compressed archives of directories and files, and also to extract directories and files from an archive. Example:

   % tar -tvzf foo.tar.gz 

displays the file names in the compressed archive foo.tar.gz while

   % tar -xvzf foo.tar.gz 
extracts the files.

No comments: