[NBLUG/talk] chmod question

Bob Blick bobblick at covad.net
Thu Oct 9 12:15:01 PDT 2003


Ross Thomas said:

>>  chmod -x `find . -type f`

> For small numbers of files.
> Also, only files.
>
> This would be more appropriate:
>     find . ! -type d -print0 | xargs -0 chmod -x

Excellent. Thank you. I had the problem of too many files for backticks to
work some time ago, I guess it's time for me to get more friendly with
xargs.

Cheerful regards,

Bob






More information about the talk mailing list