$ find . | xargs grep -l "FOOBAR" | awk '{print "rm -f "$1}' > doit.shAfter this command you can review doit.sh file before executing it.
If it looks good, execute: `. doit.sh`
by David Winterbottom (codeinthehole.com)
from All commands http://ift.tt/1jRn12q
No comments:
Post a Comment