need to delete multiple folders from webserver

On my apache webserver I was using Dreamweaver and uploaded all the _notes folders. They are causing problems in my ZenCart shopping cart software and so now I need to delete them all. The problem is there is over 300.

Is there some sort of script I could run that would look though all the folders and delete every folder called _notes?

Thank you,
Jacob Bushnell
LVL 2
JakeBushnellAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

omarfaridCommented:
you can run below command from command prompt

cd /path

find . -name _notes -exec rm -r {} \;
0
gheistCommented:
Yes
LocationMatch </_notes/>
 Deny...
0
omarfaridCommented:
or better run

cd /path

find . -name  _notes -exec rm -r -f {} \;
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

gheistCommented:
what makes you think dreamweaver will never create _notes directories again and again?
0
gheistCommented:
and _mm and Templates and _baks and .LCK files and .lck files and and and ...
0
JakeBushnellAuthor Commented:
Awesome! that just saved me hours of tedious work.
0
JakeBushnellAuthor Commented:
@gheist: Once you turn off the design notes feature in BOTH of the two places it no longer creates them. What often creates confusion is users often only turn it off in the Design Notes area and forget to turn off the Maintain Design Notes under the FTP info area as well.
0
gheistCommented:
Yes, but it does not delete them either....
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Dreamweaver

From novice to tech pro — start learning today.