Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

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.

Usage

  ChmodDir.sh <mode> "path spec 1" [ . . . "path spec 2" ]

Examples

  : ChmodDir.sh 755 *

  : ChmodDir.sh 600 *

Attached File: ChmodDir.sh (446 B)

Chieh Cheng
Thu, 31 Mar 2011 20:05:41 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

Title: Chmod on Files Only (GPL)
Weblog: Cynosure.X International
Excerpt: 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 conf . . .
Tracked: Thu, 31 Mar 2011 20:11:16 +0000

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 6 + 9?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

70 Users Online

Hacking Digital Cameras
Fun for Photographers



Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.