Tar.gz
Just managed to do tar.gz archive using the command tar -czf archivename.tar.gz foo where foo is the file or folder to be archived. Now the only problem is I don’t really know if it’s the right way :). Anyway as long as it works…
Update: code changed to tar -czf archivename.tar.gz foo after comment from Leonid.









August 31st, 2005 at 23:14
Well, you did something different. .tar.gz is a compressed (ZIPed) tar archive. If you used the command “tar -cf somefile.tar.gz somefolder” than you just created a tar archive (not ZIPed). You can compress tar archives using “gzip somefile.tar” or you can create them compressed from the very beginning using “tar czf somefile.tar.gz somefolder” (notice that “z” option?).
August 31st, 2005 at 23:49
Well thanks for the info. Atleast now I know :).
September 1st, 2005 at 5:05
No problemo