moving file from/to on the filesystem based on value

for i in `grep -irl “value” *`; do mv $i ./tmp/;done;

Leave a Reply