I\'m using grep to generate a list of files I need to move:
grep -L -r \'Subject: \\[SPAM\\]\' .
How can I pass this list to the mv command
Maybe this will work:
mv $(grep -l 'Subject: \[SPAM\]' | awk -F ':' '{print $1}') your_file