dotfiles

ref: 9b79fb66254cf3364f8d52984c13b36c80c5b3f4

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