[NBLUG/talk] chmod question

Ross Thomas spamb8r at netscape.net
Thu Oct 9 11:54:00 PDT 2003


Bob Blick wrote:
> Oh, I guess I figured it out, chmod isn't enough:
> 
>  chmod -x `find . -type f`
> 
> That worked fine.

For small numbers of files.
Also, only files.

This would be more appropriate:
    find . ! -type d -print0 | xargs -0 chmod -x

HTH

Ross.




More information about the talk mailing list