Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

breadth first globbing



Hi,

I have (unpacked) a directory tree where directories don't have the executable bit.
So, I want to iterate over all directories and set the executable bit.

Standard globbing like  **/*(/) doesn't work because zsh tries to cd to the directories
before I can chmod +x these.

Is there a solution with zsh or is it easier to write a Python script for that.

Many thanks for a hint,
Helmut




Messages sorted by: Reverse Date, Date, Thread, Author