Re: Compressing folders/sub-folders with TAR : how to ?
From: Villy Kruse (vek_at_station02.ohout.pharmapartners.nl)
Date: 01/27/05
- Previous message: John Leslie: "fastest way to translate large file to uppercase"
- In reply to: Bill Marcum: "Re: Compressing folders/sub-folders with TAR : how to ?"
- Next in thread: Stephane CHAZELAS: "Re: Compressing folders/sub-folders with TAR : how to ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Jan 2005 11:06:18 GMT
On Wed, 26 Jan 2005 11:55:12 -0500,
Bill Marcum <bmarcum@iglou.com.urgent> wrote:
> On 26 Jan 2005 06:57:56 -0800, A Web Master
> <forum_posting@hotmail.com> wrote:
>> What's the syntax to compress all folders and sub-folders found with TAR ?
>
> tar czf file.tar.gz .
> if you use GNU tar
which is a short form for
tar cf - . | gzip > file.tar.gz
GNU tar will run gzip as a separate process to implement the -z option.
There is no other magic with -z.
Villy
- Previous message: John Leslie: "fastest way to translate large file to uppercase"
- In reply to: Bill Marcum: "Re: Compressing folders/sub-folders with TAR : how to ?"
- Next in thread: Stephane CHAZELAS: "Re: Compressing folders/sub-folders with TAR : how to ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]