I use Dreamweaver to upload the web page to my site, it bring a folder called _note to everywhere in my site. I would like to ask how can I loop in the directory(/home/user/htdocs) to find the folder _note and delete it?
Assuming you have a shell on the webserver, this command would do it:
However I would be more careful then that. I would start by doing this to get a list and make sure its good:
Then review the file and if its all good:
That way you can catch errors before you delete critical files.
You can use lftp with