![]() |
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apply `chmod` for multiple files through FTP | Chanakya.m | Shell Programming and Scripting | 3 | 05-22-2009 12:47 PM |
| chmod for files and directories | kenkanya | UNIX for Dummies Questions & Answers | 2 | 03-25-2009 02:00 AM |
| help with chmod (files only) | TehOne | Shell Programming and Scripting | 1 | 11-01-2008 03:56 PM |
| chmod command for recently modified files | polka_friend | UNIX for Dummies Questions & Answers | 2 | 08-30-2006 04:25 PM |
| Numeric CHMOD for .js files | Texan | UNIX for Advanced & Expert Users | 3 | 02-11-2006 06:15 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
chmod a lot of files
So i have about 600gb of data.. in which there are alot of directories and alot of files.. Im trying to put this on a ftp server.. So i want to set the permissions on the directories to be 755 and the permission on the files to be 644. So i used:
Code:
find . -type d -exec chmod 755 {}\;
Code:
find . -type f -exec chmod 644 {}\;
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|