|
the find command will work for you in conjunction with the chmod command
cd to the directory that they all live under then run
find ./ -name search.php -exec chmod 644 {} \;
explaining this
find {directory to search} -name {name of file/files to search for} -exec {command to run} {} \;
the \; tells the -exec option that that is the end of that command
the {} is the file/files that find finds
Last edited by jeff_sadowski; 04-18-2011 at 04:39 PM.
|