From: Mart Lubbers Date: Tue, 17 Apr 2018 05:46:35 +0000 (+0200) Subject: add force_sync script X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=66cf3fcac342839c2cbcfb4726a3c8b02b1e3afb;p=dotfiles.git add force_sync script --- diff --git a/email/.mutt/force_sync.sh b/email/.mutt/force_sync.sh new file mode 100755 index 0000000..e08a3ac --- /dev/null +++ b/email/.mutt/force_sync.sh @@ -0,0 +1,7 @@ +#!/bin/sh +if pidof -x offlineimap +then + kill -10 "$(pidof -x offlineimap)" +else + offlineimap -u quiet -o +fi