Joon Guillen wrote:
> Quick question: How do I chmod recursively DIRECTORIES ONLY? For
> example, I'd want to chmod the /usr dir and everything inside it, but
> ONLY the directories and not the files nor symbolic links.
# find /usr -type d -exec chmod <mode> {} \;
This might not include /usr though. Please check.
Benj
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]