[ale] Baffled on chmod usage

Fletch fletch at phydeaux.org
Thu Aug 10 23:20:05 EDT 2000


>>>>> "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.





More information about the Ale mailing list