You can use this to find a string in a file and remove the file.
find . | xargs grep -l youemail@email.com | awk '{print "rm "$1}' > doit.sh
Look in file doit.sh for errors.
Execute the file:
bash doit.sh
2011/10/10
Find string and remove file
No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URL