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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -