[X-Unix] Re: need help with a command
Peter Dyballa
Peter_Dyballa at Web.DE
Tue Mar 1 14:32:43 PST 2005
Am 01.03.2005 um 22:28 schrieb
x-unix-request at listserver.themacintoshguy.com:
> how do i create a script that applies permissions (recursively) to a
> directory...on all contents/subdirectories/etc, EXCEPT folders
> beginning with:
>
> ~ARCHIVE
What about vi, pico, emacs?
The command*s* could be:
find <starting there> -type f \! -name ARCHIVE -exec chmod <some file
value> {} \;
find <starting there> -type d \! -name ARCHIVE -exec chmod <some
directory value> {} \;
--
Greetings
Pete
More information about the X-Unix
mailing list