On 01/12/15 14:58, Mike Frysinger wrote: > On 30 Nov 2015 10:37, Eric Blake wrote: >> On 11/28/2015 11:34 PM, Assaf Gordon wrote: >>> On 11/29/2015 12:16 AM, Pádraig Brady wrote: >>> >>>>> I must collate some gotchas like this. >>>> >>>> Initial list started at: >>>> http://www.pixelbeat.org/docs/coreutils-gotchas.html >>>> >>> >>> Fantastic list! >> >> Agreed. >> >> On the chmod entry, it might also be worth mentioning that: >> >> chmod -R a-x,a+X >> >> works to remove execute permissions on regular files but not >> directories, without needing a 'find'/'xargs' pair. > > the xargs usage seems pointless/wasteful to me. just do: > find -type f -exec chmod 644 {} +
Updated. thanks
