22 Jan
2005
22 Jan
'05
01:47
U, On Friday 21 January 2005 17:32, user86 wrote:
...
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,
Thanks, but that also fails if a filename has an apostrophe in its name. "Bull's Eye.txt" I get an error of "xargs: unmatched single quote".
Then my NUL byte technique will work (I think) % find ... |tr '\n' '\0' |xargs -0 cmd fixedArgs... Randall Schulz