Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

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.

Usage

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

Examples

  : ChmodFile.sh 755 *

  : ChmodFile.sh 600 *

Attached File: ChmodFile.sh (447 B)

Chieh Cheng
Thu, 31 Mar 2011 20:02:36 +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: Change Permissions on Directories Only (GPL)
Weblog: Cynosure.X International
Excerpt: 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 con . . .
Tracked: Thu, 31 Mar 2011 20:10:54 +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 3 + 8?
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

83 Users Online

Hacking Digital Cameras
Fun for Photographers



Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.