Recursively set permissions (CHMOD) for a specific file extension

Just a quick snippet…

find /start/from/here -type f -name "*.php" -print | xargs chmod 644

Enjoy 😀

Leave a Reply

Your email address will not be published. Required fields are marked *