Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
breadth first globbing
- X-seq: zsh-users 20053
- From: Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: breadth first globbing
- Date: Tue, 31 Mar 2015 11:44:59 +0200
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Reply-to: jarausch@xxxxxxxxxxxxxxxxxxx
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