[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Baffled on chmod usage
- Subject: [ale] Baffled on chmod usage
- From: fletch at phydeaux.org (Fletch)
- Date: 10 Aug 2000 23:20:05 -0400
>>>>> "Byron" == Byron A Jeff <byron at cc.gatech.edu> writes:
[...]
Byron> find and xargs gives a fairly useful combination:
Byron> find . -name '*.exe' | xargs chmod -v 555
Byron> The find will generate names for each of the files with an
Byron> exe extension. The xargs will then execute the chmod
Byron> command against every file found.
Of course with zsh you don't need xargs or the find, you can
just do:
chmod -v 555 **/*.exe
The more you use zsh, the less and less you use find and
xargs. Because zsh simply rules. :)
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
678 443-6239(w) | scary questions." -- Jules =(___)=
| U
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.