Setting (Recursively) Modes on Files
Wm E. Davidsen Jr
davidsen at sixhub.UUCP
Thu Dec 27 14:04:02 AEST 1990
In article <5389 at cuuxb.ATT.COM> dmeeks at cuuxb.UUCP (David L. Meeks) writes:
| sure all arguments to 'find' are white-space separated. I believe
| one could also use:
|
| find . -type f ! -name "s.*" ! -name "p.*" -print |xargs chmod g+w
|
| which would also eliminate the 'p.' files from the list.
Or ! -name '[sp].*' since these are glob format wildcards on names
(shell rules, not regular expressiln rules).
--
bill davidsen - davidsen at sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
sysop *IX BBS and Public Access UNIX
moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me
More information about the Comp.unix.shell
mailing list