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
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Commands

Change permissions on files and folders with find

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