php - Find And Replace Folder Names On Server -


i can't seem find way on dedicated server.

i've got huge directory of folders , of contain 3 dashes '---' need find , replace 1 dash.

is there easy way find , replace right on server? don't want have download folders , on desktop , re-upload them.

you this:

find  ./  -name '*'  -exec  rename  's/---/-/g'  {}  \; 

* has not been tested

src


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -