Testing execute permission from csh
Scott "The Pseudo-Hacker" Neugroschl
abcscnge at csuna.csun.edu
Wed May 10 13:46:42 AEST 1989
In article <19486 at adm.BRL.MIL> Kemp at DOCKMASTER.NCSC.MIL writes:
}
} # foreach f (*)
} ? if -x $f chmod o+x $f
} ? end
}
How about:
# find . -perm 0100 -exec chmod o+x {} \; -print
Note: I may have remembered the syntax of -perm incorrectly... no RTFMs
to me, please.
find(1) allows one to look for a specific mask or specific perms. Check
the manual.
--
Scott "The Pseudo-Hacker" Neugroschl
UUCP: ...!sm.unisys.com!csun!csuna.csun.edu!abcscnge
-- unless explicitly stated above, this article not for use by rec.humor.funny
-- Disclaimers? We don't need no stinking disclaimers!!!
More information about the Comp.unix.questions
mailing list