Bash script to create mass series of directories

Posted by Volomike on Server Fault See other posts from Server Fault or by Volomike
Published on 2010-03-23T00:25:20Z Indexed on 2010/03/23 0:31 UTC
Read the original article Hit count: 876

Filed under:
|
|
|

I need to create a Bash script to go into every user's home folder, seek out a wp-content folder, create a directory uploads under it, and then chmod 0756 uploads.

How do I achieve this?

I imagine I need to use find with a regexp/regex, and then tell it to run another bash script on the results.

© Server Fault or respective owner

Related posts about bash-scripting

Related posts about bash