Recursively Delete Files Matching Pattern

/ Published in: Bash
Save to your folder(s)

Add '-type d ' if it's a directory you want to get rid of.

Copy this code and paste it in your HTML
  1. rm -rf `find . -name [mypattern]`


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.