Re: Compressing folders/sub-folders with TAR : how to ?

From: Villy Kruse (vek_at_station02.ohout.pharmapartners.nl)
Date: 01/27/05

  • Next message: Villy Kruse: "Re: Compressing folders/sub-folders with TAR : how to ?"
    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


  • Next message: Villy Kruse: "Re: Compressing folders/sub-folders with TAR : how to ?"