[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to write a script that recursively check files in a directory with md5sum

Matthias Czapla wrote:

On Thu, Jul 15, 2004 at 06:07:26AM +0800, John Summerfield wrote:
Matthias Czapla wrote:
On Wed, Jul 14, 2004 at 02:31:10PM -0700, j smith wrote:
Thank you!

Windows has folder names that include space,
Example:"Program Files"

Will that cause trouble for your solution?
If the command after the -exec is a "real" program and not a shell
script or something else that interprets it's arguments, it should not
cause trouble.
It will cause problems for any program.

Why? Have you actually tried it?
I have been caught many times. I mostly remember to use '-print0' these days. Sometimes I get it right and use 'xargs -0' first time too,



-- spambait
1aaaaaaa@computerdatasafe.com.au  Z1aaaaaaa@computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

Reply to: