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