Let’s say you want to delete all the "CVS" subdirectories anywhere below a top level "/opt/project" directory. Here is how you can do this…
- Execute
cd /opt/projectto change to the top level directory below which you wish to delete the "CVS" subdirectories - Execute
find -type d -name 'CVS' -lsto see a preview of all the directories that will be deleted. - If the preview seems ok, you can then execute
find -type d -name 'CVS' -exec rm -fr {} \;to actually delete all the subdirectories (you’ll get a No such file or directory error when executing but the subdirectories are still deleted).
Obviously, this can work with any subdirectory name as you would just replace CVS above with your subdirectory name.
Buy:Nymphomax.Lipothin.Lasix.Zetia.Female Cialis.Buspar.Cozaar.Acomplia.Ventolin.Seroquel.Advair.Zocor.Benicar.Wellbutrin SR.Aricept.Lipitor.Prozac.Female Pink Viagra.Amoxicillin.SleepWell….