From 66cf3fcac342839c2cbcfb4726a3c8b02b1e3afb Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 17 Apr 2018 07:46:35 +0200 Subject: [PATCH] add force_sync script --- email/.mutt/force_sync.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 email/.mutt/force_sync.sh 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 -- 2.20.1