On Tue, 2005-10-11 at 00:25 -0700, Drew Tomlinson wrote: > > Oh, and another thought. The "find" command can do this for you as > well, IIRC.
find . -type f -iname '*.wav' -exec command "{}" "{}".foo \; is the syntax, IIRC. Note the \ that exists to escape the semicolon, therefore telling find to end processing. find . -type f -iname '*.wav' |while read LIST; do command "${LIST}" "${LIST/old/new}" ; done is another possibility. Adding limiters to "find" can prevent it from recursing too deeply. //Spider -- begin .signature Tortured users / Laughing in pain See Microsoft KB Article Q265230 for more information. end
signature.asc
Description: This is a digitally signed message part