Monthly Archives: December 2011

Merry Christmas

Merry Christmas to everyone reading this.

Advertisements

Create and extract comptessed tar archieves

Because i google this so often:

 

To add a complete directory to a tar file and compress the tar use this:
tar cfvz NAME.tar.gz [DIRECTORY]

To extract the files use:
tar xfvz NAME.tar.gz

 

If you have many files in the directory it might be a good idea to leave the v parameter out.

%d bloggers like this: