dotfiles

ref: d2d189cb319fd0e52ed286af2b5c207dd82639de

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