Re: find -exec
> What i wanna do ..is 2 things
>
> find all files in a directory tree and chmod them 644
>
> find . -exec chmod u+wx {} -type f
>
try this:
find . -type f -exec echo {} \;
I've replaced the chmod with a painless payload so you can test it out
first. the \; is required to mark the end of the exec string which
(I believe) should come at the end of the argument list
dave
--
| oOOooO /
--| oOobodoO / dsb3@earthlink.net
--| ooOoOo /
| II / The wise man tells you where you have fallen
| II / and where you may fall - Invaluable secrets.
Reply to: