Hans Fugal wrote:
Or if you preferfind . -type f | while read i; do xargs chmod "$i"; done This isn't as robust as null-termination (what if the filename has " in it?), this idiom is nice to know because it comes in very handy.
best of both worlds? null seperated argument list to a quoted list.
find . -type f -print0 | xargs -0ri chmod "{}"
--
Ritter
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/
