I need of a script...

penguin

g0t r00t?
Joined
6 Jan 2004
Messages
101
I have to add and change permissions on about 100 directories on a linux box. I would like to create a script to do this for me. Any ideas?
 
what are the names of the directories? If they are all foo-somethingelse then you can chmod 777 f00* and it will chmod all directories named foo-somehting or whatever your permissions are. The recursive -R switch changes the top level and all sublevel directories, so I guess it depends what you are actually trying to do.
 

Members online

No members online now.

Forum statistics

Threads
62,021
Messages
673,242
Members
5,642
Latest member
osipov
Back
Top