mailsync script gives args to offlineimap

This commit is contained in:
Luke Smith 2018-03-18 16:43:09 -07:00
parent 920ee09626
commit 7f5d077b72

View File

@ -17,7 +17,7 @@ fi
# Get current number of new mail, then begin sync.
ori=$(find ~/.mail -wholename '*/new/*' | grep -vi "spam\|trash\|junk" | wc -l)
offlineimap -o
offlineimap -o "$@"
# Recount new mail.
new=$(find ~/.mail -wholename '*/new/*' | grep -vi "spam\|trash\|junk" | wc -l)