Wednesday, April 13, 2005

Simple Tar

No comments:
tarball on Linux
Create: tar cvzpf /tmp/destination.tar.gz /home/source
Extract:
- using the mv command, put the tarball in the folder where you want the new file or folder created (i.e. if you tarballed /home/source, and you now want a "source" folder in tmp, put the tarball on the top level of /tmp)
- tar -zxvf tarball.tar.gz


tarball on Windows

Create: use 7-zip. First create the tar file, and then gzip the result.