?
Solved

need to delete multiple folders from webserver

Posted on 2014-07-31
8
Medium Priority
?
232 Views
Last Modified: 2014-08-01
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
Comment
Question by:JakeBushnell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 40232971
you can run below command from command prompt

cd /path

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

Expert Comment

by:gheist
ID: 40232973
Yes
LocationMatch </_notes/>
 Deny...
0
 
LVL 40

Accepted Solution

by:
omarfarid earned 2000 total points
ID: 40232975
or better run

cd /path

find . -name  _notes -exec rm -r -f {} \;
0
Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

 
LVL 62

Expert Comment

by:gheist
ID: 40233006
what makes you think dreamweaver will never create _notes directories again and again?
0
 
LVL 62

Expert Comment

by:gheist
ID: 40233073
and _mm and Templates and _baks and .LCK files and .lck files and and and ...
0
 
LVL 2

Author Closing Comment

by:JakeBushnell
ID: 40233170
Awesome! that just saved me hours of tedious work.
0
 
LVL 2

Author Comment

by:JakeBushnell
ID: 40233176
@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
 
LVL 62

Expert Comment

by:gheist
ID: 40233613
Yes, but it does not delete them either....
0

Featured Post

Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question