9fc22a76 JC |
1 | #!/bin/sh |
2 | # Shouldn't require any GNU utils, but not 100% on that negative lookahead flag |
3 | mbsync -c /home/jcasper/.mbsyncrc -aq |
4 | find /home/jcasper/mail/INBOX/ -type f -not -path '*/\.*' -print \ |
5 | | grep -P '.*U=.*:2,(?!.*S)' \ |
6 | | wc -l |