Here are some useful commands that can be run from your Ubuntu Linux command line:
This first one is to delete any subversion folders in a directory and any subdirectory. By changing the “.svn” portion, you can delete any filename recursively, such as the “_notes” folders left over from dreamweaver.
sudo rm -rf `find . -type d -name .svn`
sudo rm -rf `find . -type d -name _notes`
This one deletes files all .xml files recursively, starting in your current base folder.
find . -type f -name "*.xml" -delete
Make sure you are in the correct directory before you use one of these!
Edit: Here is another useful command, it deletes all empty folders under your CWD.
find . -empty -type d -delete