On Fri, Oct 18, 2013 at 03:07:41PM +0300, sin wrote: > I do not consider find(1) to be elegant in any way. I agree many ppl use it, > including myself, I just wish we could do without this madness. >
I can do without it! I just do setopt extendedglob chmod g-x **/*(#q.E^AI)~xxxx/**/* (I hope I understood that find command correctly) The only possible prolem would arise from the argumen list being too long, and then I can just zmodload zsh/files which implements chmod inside of zsh. Or I could print -l **/*(#q.E^AI)~xxxx/**/* | xargs chmod g-x But of course that requires the zsh. So there's at least something all that bloated code buys. Ciao, Markus