LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Changing file permissions within multiple folders (https://www.linuxquestions.org/questions/linux-newbie-8/changing-file-permissions-within-multiple-folders-292830/)

cloudxiii 02-21-2005 12:16 AM

Changing file permissions within multiple folders
 
This may be a stupid question but Im trying to change the file permissions and group associations of all the files within a certain directory that contains a lot of subdirectories and files. Is there any way of using a wildcard to do them all at once? I know I can chmod 644 * in each folder but there are so many folders that it would take forever. If anyone knows of an easier way to get this accomplished Id be extremely grateful. thanks a lot

Genesee 02-21-2005 12:20 AM

from the chmod man page:

-R, --recursive
Recursively change permissions of directories and their contents.


All times are GMT -5. The time now is 05:16 PM.