dotfiles

ref: 112eae89312e9ce9e55806d609f55efd3bac01f0

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