Archive

Archive for the ‘gzip’ Category

Tar and gzip when you do not have the -z tar switch

April 23rd, 2008 grady Comments off

Sometimes tar does not have the -z switch depending on the system os you are on. In those cases, you can still do the tar.gz all in one command by using the format:

tar cvf – the_path_or_filelist | gzip > your.tar.gz

Categories: gzip, howto, tar Tags: