bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Difference between -z option and piping to gzip


From: Jim Hefferon
Subject: Re: [Bug-tar] Difference between -z option and piping to gzip
Date: Sat, 3 Jan 2004 13:47:36 GMT

Sergey,

  You said:
   To solve the problem you have to pass the same option to the
   gzip instance invoked by tar. You can do so by declaring GZIP
   environment variable:

   export GZIP=-n
   tar cfz arch1 testfile && 
    sleep 90 &&
    tar cfz arch2 testfile &&
    diff arch1 arch2; echo $?

   Try this and you'll get two identical archives.

Thanks for your reply; I'll look into that.  (Presumably I can figure
out how to compile gzip for the ftp/bin directory with -n hardcoded.)

Thanks also for your work on GNU tar.  We rely on it every day.

Jim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]