• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

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
0
JakeBushnell
Asked:
JakeBushnell
  • 4
  • 2
  • 2
1 Solution
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 4
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now