1.

Solve : how to: change chmod to 777 of all files in a spesific name in whole server?

Answer»

Is it possible to CHANGE chmode of a spesific file but in different folders?

change all x.php in /home folder. There are lots of x.php and i dont want to change chmod one by one.

is it possible to do this with one shot?

TNX Code: [Select]find /home -TYPE F -name "X.php" -exec chmod 777 "{}" \;
Thank you very very much. I am searching this command for days. And it worked.

what if change a permision of a FOLDER not file?


How can we do this?Quote from: doncamillo on April 26, 2008, 07:47:59 AM

Thank you very very much. I am searching this command for days. And it worked.

what if change a permision of a FOLDER not file?


How can we do this?
check the MAN page of find command. look for -type explanation.Tnx again.

"-type d"



Discussion

No Comment Found