title: Delete all directories named "XXX" from sub-directories from root directory in Windows or Unix
body: <p>I have many directories with some sub-directories that need to be deleted. Is there a way to deltree/rmdir so that all directories titled "TAB", "Tab_old" and files in them are deleted.</p>
  
  <p>Directory structure is like</p>
  
  <pre><code>root&gt;townx&gt;TAB
  root&gt;towny&gt;
  root&gt;towny&gt;TAB
  root&gt;towny&gt;zone1&gt;
  root&gt;towny&gt;zone1&gt;Tab
  </code></pre>
  
  <p>etc... so all "TAB" directories should be deleted.</p>
  
  <p>===== edmastermind29 suggested process output ====</p>
  
  <pre><code>$ find / -name "TAB" -type d -exec rm -rf {} \;
  
  atgisuser@ATGISLAPTOP02 /c/scratch/Test_Lidar
  $ ls
  Ath_test.csv  LAS               Success_LOG.txt  asc
  Contours      Orthophotomosaic  XYZ              schema.ini
  
  
  atgisuser@ATGISLAPTOP02 /c/scratch/Test_Lidar
  $ cd contours
  
  atgisuser@ATGISLAPTOP02 /c/scratch/Test_Lidar/contours
  $ ls
  Atherton  TAB
  
  atgisuser@ATGISLAPTOP02 /c/scratch/Test_Lidar/contours
  $ 
  </code></pre>
  
  <p>The "TAB" directory above should be deleted...</p>