Skip to content

Instantly share code, notes, and snippets.

@PickledDragon
Created February 8, 2016 15:09
Show Gist options
  • Save PickledDragon/e4fb07c1b8670a0cef2f to your computer and use it in GitHub Desktop.
Save PickledDragon/e4fb07c1b8670a0cef2f to your computer and use it in GitHub Desktop.
dovecot move nonspam from junk
grep -L -r 'X-Spam-Status: Yes' .Junk/new | xargs -I{fname} mv {fname} ./new/
grep -L -r 'X-Spam-Status: Yes' .Junk/cur | xargs -I{fname} mv {fname} ./new/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment