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
Thank you, sort -z did the trick. I have tried sort too but without the -z option. I never would have found out that this option is required. Thanks. IG ______________________________________________________________________ Digitális fényképezőgépek akár 5000 Ft ajándék fotókidolgozással a FotoMarket Online Fotóáruházban! - www.fotomarket.hu VÁSÁROLNA? SEGÍTÜNK! Igényeljen hitelkártyát online és élvezze Ön is a vásárlás szabadságát! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org