Posted on May 25, 2008 by nicolasdelete all files that contains ‘truc’ for i in `grep -rl “TRUC” $DIR`; do rm -f $i; done;