dotfiles

ref: 57accdce66f2e6f1c6ed26c42b57cdefdec2ed24

mutt/offlineimap_sync.sh


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#!/usr/bin/env bash

if [ "$1" = "--inbox" ]
then
    # Quick sync
    offlineimap -c ~/Dropbox/Code/email-conf/offlineimaprc -o -q -f INBOX
else
    # Full sync
    offlineimap -c ~/Dropbox/Code/email-conf/offlineimaprc -o
fi

~/dotfiles/mutt/post-sync.sh