[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Baffled on chmod usage
- Subject: [ale] Baffled on chmod usage
- From: Jhubbs at niit.com (Jeff Hubbs)
- Date: Fri, 11 Aug 2000 09:31:22 -0400
Fletch -
What's the significance of the double-asterisk?
- Jeff
> -----Original Message-----
> From: Fletch [mailto:fletch at phydeaux.org]
> Sent: Thursday, August 10, 2000 11:20 PM
> To: ale at ale.org
> Subject: Re: [ale] Baffled on chmod usage
>
>
> >>>>> "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.
>
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.