Mailinglist Archive: opensuse (2162 mails)

< Previous Next >
[opensuse] recursive md5 files order
  • From: Istvan Gabor <suseuser04@xxxxxxxxxxx>
  • Date: Sat, 23 Aug 2008 00:29:05 +0200 (CEST)
  • Message-id: <freemail.20080723002905.85523@xxxxxxxxxxxxxxxx>
Hello:

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:

4e0a0c9d1c2d94cf8481a3e32f95b55b ./Album1/07.mp3
442765056a35156e9d6d19ccde5a0801 ./Album1/11.mp3
8c794bbfdad7e00860739d1852c3db86 ./Album1/09.mp3
489ffb1566b1bd1f21625c6f9fcf19d8 ./Album1/06.mp3
477baacaf7e95ea483d9ed1d94bed0bb ./Album1/10.mp3

etc.

How could I get the files and subdirectories sorted in
alphabetical order?

TIA,
IG



______________________________________________________________________
Akciós utazást mindenkinek!
Last minute ajánlatok akár 50%-os kedvezménnyel.
www.budavartours.hu


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >