Posted By

kentoy on 08/09/10


Tagged

find xargs


Versions (?)

Bash [One Liner] - Find Utility : Find Files


 / Published in: Bash
 

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)

  1. find `pwd` -name "<pattern>" | xargs rm

Report this snippet  

You need to login to post a comment.