bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Re: creating identical .tar.gz files for use with version


From: Tim Kientzle
Subject: Re: [Bug-tar] Re: creating identical .tar.gz files for use with version control
Date: Fri, 20 Mar 2009 11:20:06 -0700
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422

Nathan Stratton Treadway wrote:
On Thu, Mar 19, 2009 at 18:02:53 -0400, Chris Pickett wrote:

For example:

tar cvfz a.tar.gz a/

[...]

However, if I repeat the process without changing the underlying files, a.tar.gz is different, and thus it needs to get checked in again.

Is there an option set I can use to prevent this?  I am using tar-1.19.

Note that, apart from anything the tar command is doing, the "gzip"
records the current date/time inside the .gz file.

Good point; I wonder if bzip2 or lzma would
avoid this problem?  I don't think either
of them records the current time.

Chris:  If you do solve this, please let us know
what you did.

Tim




reply via email to

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