aboutsummaryrefslogtreecommitdiff
path: root/syncMail.sh
blob: fd47994020f9500bc2fa318037ccfb482ac355a7 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Calls mbsync (isync binary) to syncronize mailboxes

[ -n "$STATUS_BAR" ] && pkill -SIGRTMIN+15 "$STATUS_BAR"
mbsync -c ~/.config/isync/gmmbsyncrc -a
mbsync -c ~/.config/isync/uombsyncrc -a
mbsync -c ~/.config/isync/drmbsyncrc -a
[ -n "$STATUS_BAR" ] && pkill -SIGRTMIN+15 "$STATUS_BAR"