[Discuss] Multiple HDD setup in Linux
Steven Kurylo
sk at infinitepigeons.org
Sat May 10 09:13:49 PDT 2008
> > find . -type f >| files.list
> > cat files.list |xargs md5sum >| md5sum.out
> Just today I found myself needing something like this. Unfortunately
> I ran into problems due to some of the file and directory names
> containing spaces and other non alphanumeric characters which confused
> md5sum.
I'll save you some work. And I'll handle quotes in the file names,
which your sed version won't.
find . -type f -print0 | xargs --null md5sum > md5sum.out
--
Steven Kurylo
More information about the Discuss
mailing list