22 Aug
2008
22 Aug
'08
23:22
Hello, On Sat, 23 Aug 2008, Istvan Gabor wrote:
I am using the following syntax to create an md5 file containing all the md5 sums recursively:
find . -type f -print0 | xargs -0 md5sum > ~/tmp/foo.md5
Unfortunately this method crates an md5 file in which the order of the files seems to be random. Eg: [..] How could I get the files and subdirectories sorted in alphabetical order?
find . -type f -print0 | sort -z | xargs -0 md5sum > ~/tmp/foo.md5 HTH, -dnh -- Never put off till tomorrow what you can avoid all together. -- fortune file -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org