/ Published in: Bash
![](/img/icon_sav.png?v3)
find files using "find" and piping the output to rm using xargs; 1st argument to find is the search directory (command substituted in this example by `pwd`)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
find `pwd` -name "<pattern>" | xargs rm
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)