[ale] chmod -R ?

rs at ale.spam.futz.org rs at ale.spam.futz.org
Fri Jun 11 00:56:34 EDT 2010


>find . -name '*.txt' -exec chmod a-x {} \; -print

xargs is your friend:

find . -name '*.txt' -print0 | xargs -0  chmod a-x

This will save you from exec'ing chmod for every single txt file..

-- 
Arguing with an Engineer is like wrestling a pig in mud.
After a while you realize the pig is enjoying it.


More information about the Ale mailing list