repositories
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3040d0a
)
add force_sync script
author
Mart Lubbers
<mart@martlubbers.net>
Tue, 17 Apr 2018 05:46:35 +0000
(07:46 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Tue, 17 Apr 2018 05:46:35 +0000
(07:46 +0200)
email/.mutt/force_sync.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/email/.mutt/force_sync.sh
b/email/.mutt/force_sync.sh
new file mode 100755
(executable)
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