define( 'WPCACHEHOME', '/srv/www/www.ichilton.co.uk/html/blog/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager Recursively chmod Files and Directories | Ian Chilton
Home > Linux > Recursively chmod Files and Directories

Recursively chmod Files and Directories

To recursively chmod all files in the current directory (and sub-directories), you can do this:

find . -type d -exec chmod 755 {} \;

To do the same with just files, you can use:

find . -type f -exec chmod 644 {} \;
Categories: Linux Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.