Tuesday, July 19, 2011

TAR LINUX

   tar cvzf foo.tgz cps100
will tar the directory cps100 (and its files/subdirectories) into a tar file named foo.tgz.

To extract the contents of a tar file use:
    tar xvzf foo.tgz

This untars/extracts (x) into the directory from which the command is invoked, and prints the files being
extracted (v).

No comments:

Post a Comment