21 Jan
2005
21 Jan
'05
22:14
On Friday 21 January 2005 22:38, user86 wrote:
Lars Haugseth wrote:
On Friday 21 January 2005 11:02, Laurent Renard wrote: | Hello everyone, | | how could i make a md5sum file calculated from files stored in a | directory ( like in ftp's ... ) ?
Non-recursive: $ find <directory> -type f -maxdepth 1 | xargs md5sum > checksums.txt
Recursive: $ find <directory> -type f | xargs md5sum > checksums.txt
How do you get these to work with filenames that have spaces in their name?
$ find <directory> -type f | xargs -i md5sum "{}" > checksums.txt Regards, -- Lars Haugseth