How to Remove All Special Files in Subdirectories

  • code
  • coding
  • programming
  • remove
  • delete
  • files
  • super-user
  • bash
  • linux
  • script
  • command

find . -name \*.txt -type f -delete

 

OR

 

find . -name \index.html -type f -delete

 

Source: https://superuser.com/questions/112078/delete-matching-files-in-all-subdirectories


All Articles