Denis Excoffier <[email protected]> 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:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (uni) [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
