Alexander Samad wrote:

sorry missed the -printf, the point I was trying to get to was the

quoting to get around the white spaces


OK, got that. The '"' as you put in your suggestion would be "eaten" already by
the shell from which this find is executed. You'd have to pass them through to the shell
which is executed by find itself. That's what my correction tries to do.




find ... -exec mv '"{}"' '"$(changecase \'\"{}\"\')"' \;

and I suspect even these quoting of quotation marks might not work still.

Cheers,

--Amos


--Amos

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to