chmod directory recursively but not the file

sudo find /path -type d -exec chmod 777 "{}" \;
This entry was posted in software / tools. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.