mailsync script gives args to offlineimap
This commit is contained in:
parent
920ee09626
commit
7f5d077b72
@ -17,7 +17,7 @@ fi
|
|||||||
|
|
||||||
# Get current number of new mail, then begin sync.
|
# Get current number of new mail, then begin sync.
|
||||||
ori=$(find ~/.mail -wholename '*/new/*' | grep -vi "spam\|trash\|junk" | wc -l)
|
ori=$(find ~/.mail -wholename '*/new/*' | grep -vi "spam\|trash\|junk" | wc -l)
|
||||||
offlineimap -o
|
offlineimap -o "$@"
|
||||||
|
|
||||||
# Recount new mail.
|
# Recount new mail.
|
||||||
new=$(find ~/.mail -wholename '*/new/*' | grep -vi "spam\|trash\|junk" | wc -l)
|
new=$(find ~/.mail -wholename '*/new/*' | grep -vi "spam\|trash\|junk" | wc -l)
|
||||||
|
Loading…
Reference in New Issue
Block a user