Bash [One Liner] - Find Utility : Find Files

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

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`)

Copy this code and paste it in your HTML
  1. find `pwd` -name "<pattern>" | xargs rm

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.