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
mv `grep -L -r 'Subject: \[SPAM\]' .`
Assuming that the grep you wrote returns the files paths you're expecting.