Change Permissions on Directories Only (GPL)
Sometimes you want to change the permissions only on directories, without touching files, but the easiest way to change permissions is to use a wild card like "*". The attached "ChmodDir.sh" lets you do that easily and quickly. Arguments to the shell script is simple and straight-forward without confusing options.
"ChmodDir.sh" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.
ChmodDir.sh <mode> "path spec 1" [ . . . "path spec 2" ]
: ChmodDir.sh 755 *
: ChmodDir.sh 600 *
Did your message disappear? Read the Forums FAQ.
Title: Chmod on Files Only (GPL)
Spam Control | * indicates required field
Messages, files, and images copyright by respective owners.
1802 Users Online
Copyright © 1996 - 2017. All Rights Reserved.