Friday 22 July 2005

How to create / read unix tar files

To create a unix tar file supply the path to the directory which you want to tar in the 'directoryname' below:

$ tar cvf filename.tar directoryname


To extract a tar file into a directory supply the path to the 'directoryname' as below.

$ tar xvf filename.tar directoryname