bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] make your tar archive even more anonymous


From: Joerg Schilling
Subject: Re: [Bug-tar] make your tar archive even more anonymous
Date: Fri, 06 Jul 2012 12:21:24 +0200
User-agent: nail 11.22 3/20/05

Denis Excoffier <address@hidden> wrote:

>
> Hello,
>
> When tar (e.g. tar-1.26) creates an archive of a directory, the
> ordering of files (as shown by "ls -f") is preserved in the archive.
>
> I would like an option to make this ordering constant (e.g. alphanumeric),
> in order that two directories that compare equal (with "diff -r") would
> produce the same archive (provided of course that appropriate --mtime,
> --owner, --group and --mode options are also set to the same values).

Why exactly do you like to have this?

> Note. "diff -r" is not the better tool for directory comparison since
> symbolic links are always traversed. But you get the picture.

Because diff -r is not useful for tree comparing in general, star supports a 
user tailorable -diff option.

Did you check "star -diff -v diffopts=...."?

Jörg

-- 
 EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



reply via email to

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