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).

This would be another step in the make-your-tar-archive-anonymous
direction.

Regards,

Denis Excoffier.

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

Reply via email to