little change on previous answer:
find /path/to/ABC -type d -name "CVS" -exec rm -fdr {} \;
Question
My team uses CVS. For some reason I need to create a shell script which deletes all folders with the name CVS(those who have worked on it might understand) present in my local copy. Consider the super directory as ABC. ABC has different directories in it , which in turn contain directories named CVS.
Solution
little change on previous answer:
find /path/to/ABC -type d -name "CVS" -exec rm -fdr {} \;
OTHER TIPS
Try this:
find /path/to/ABC -type d -name "CVS" -delete