Re: compress files on the fly?

From: Lamar Saxon (Lamar.Saxon_at_AMERICREDIT.COM)
Date: 10/15/04

  • Next message: Karen K Boddy: "instfix -i | grep ML"
    Date:         Fri, 15 Oct 2004 14:26:36 -0500
    To: aix-l@Princeton.EDU
    
    

    Might look @ this from a previous post:

    How about :

    tar -cvf- <filespec> | gzip -9 > myfile.tar.gz

    Lamar

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Juan Camilo Yanquen
    Sent: Friday, July 30, 2004 3:37 PM
    To: aix-l@Princeton.EDU
    Subject: Dummy tar Question

    I've a little question about tar command.

    what is the "reverse" command of:

    gzip -d -c myfile.tar.gz | tar -xvf -

    I know do this in 2 steps, but in some case I don't have left space to
    get this work

    tar cvf myfile.tar /mydir
    gzip -9 myfile.tar

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Bob.Kelley@BRINKSINC.COM
    Sent: Friday, October 15, 2004 1:56 PM
    To: aix-l@Princeton.EDU
    Subject: compress files on the fly?

    Does anyone know of a slick way to compress files on the fly from one
    filesystem to another? I have to copy/compress 18G+ files and from what
    I
    gather, tar has a limitation of around 8G?

    Thoughts appreciated!!!

    Bobby Kelley Jr.
    972-877-5341


  • Next message: Karen K Boddy: "instfix -i | grep ML"

    Relevant Pages

    • Re: tar command
      ... that it executes upto the tar command but when it comes to the zip command ... or a combination of fork and exec. ...
      (perl.beginners)
    • Re: tar over 2 GB - how to backup it?
      ... I have seen cases of v5.1 tar being able to back up 10GB Oracle files ... 1.The tar command is not enabled for files greater than 2 Gig in size ... due to limitations imposed by XPG/4 and POSIX.2 standards. ...
      (comp.unix.aix)
    • Re: Dummy tar Question
      ... Subject: Dummy tar Question ... I've a little question about tar command. ... what is the "reverse" command of: ...
      (AIX-L)
    • Re: tar: cannot open: /dev/rct0
      ... | I am having a problem with a series of identically configured Dell machines ... | when I issue a specific tar command the first time after a fresh boot. ...
      (comp.unix.sco.misc)
    • tar: cannot open: /dev/rct0
      ... I am having a problem with a series of identically configured Dell machines ... when I issue a specific tar command the first time after a fresh boot. ... I can then issue the same tar command, ...
      (comp.unix.sco.misc)