zsh-users
 help / color / mirror / code / Atom feed
* breadth first globbing
@ 2015-03-31  9:44 Helmut Jarausch
  2015-03-31 10:04 ` Mikael Magnusson
  0 siblings, 1 reply; 6+ messages in thread
From: Helmut Jarausch @ 2015-03-31  9:44 UTC (permalink / raw)
  To: zsh-users

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



^ permalink raw reply	[flat|nested] 6+ messages in thread
* breadth first globbing
@ 2015-03-31  9:32 Helmut Jarausch
  0 siblings, 0 replies; 6+ messages in thread
From: Helmut Jarausch @ 2015-03-31  9:32 UTC (permalink / raw)
  To: zsh-users

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-31 12:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-31  9:44 breadth first globbing Helmut Jarausch
2015-03-31 10:04 ` Mikael Magnusson
2015-03-31 10:42   ` Bart Schaefer
2015-03-31 12:10     ` Mikael Magnusson
2015-03-31 10:53   ` Michal Politowski
  -- strict thread matches above, loose matches on Subject: below --
2015-03-31  9:32 Helmut Jarausch

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).