Useful bash commands

From RpWiki
Revision as of 07:03, 17 March 2010 by Rp (talk | contribs) (New page: == Commands == === Change permissions on files and folders with find === find . -type f -exec chmod 664 {} \; find . -type d -exec chmod 755 {} \;)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Commands

Change permissions on files and folders with find

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