Re: Dummy tar Question

From: Lamar Saxon (Lamar.Saxon_at_AMERICREDIT.COM)
Date: 07/30/04

  • Next message: JOSEPH KREMBLAS: "Re: Dummy tar Question"
    Date:         Fri, 30 Jul 2004 15:59:13 -0500
    To: aix-l@Princeton.EDU
    
    

    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

    Sorry, but I can't find this on man pages

    Thanks for you help.

    Atentamente,

    Juan Camilo Yanquen
    Soporte pSeries
    SISA-SA


  • Next message: JOSEPH KREMBLAS: "Re: Dummy tar Question"

    Relevant Pages

    • Re: compress files on the fly?
      ... Subject: Dummy tar Question ... I've a little question about tar command. ... Does anyone know of a slick way to compress files on the fly from one ...
      (AIX-L)
    • 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: The tar trick !!!
      ... The dash represents the standard input or standard output stream. ... The first command, 'tar cf - .', creates a tar archive of the directory ... The second tar command reads from the pipe that the first tar command ...
      (comp.os.linux.misc)
    • 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)