This might be useful if you want to chmod a file or directory only
find -type d -print0 |xargs -0 chmod 755
find -type f -print0 |xargs -0 chmod 644
Tags: bash, chmod
This entry was posted on Monday, September 20th, 2010 at 13:56 and is filed under Linux. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Mail (will not be published) (required)
Piethein Strengholt's Blog is proudly powered by WordPress Entries (RSS) and Comments (RSS).