[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] chmod question



>>>>> "Keith" == Keith Morris <graphicsguy at charter.net> writes:

[...]

    Keith> Is there a way to use chmod recursively where it will only
    Keith> change the permissions on the files and not the
    Keith> directories?  chmod -R changes everything thus making the
    Keith> directories non-traversable.

#!/usr/bin/zsh
chmod 666 somedir/**/*(.)

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
                      |  scary questions." -- Jules                =(___)=
                      |                                               U