aboutsummaryrefslogtreecommitdiff
path: root/local/bin/allsync
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-06-25 14:41:17 +0200
committerKarel Kočí <cynerd@email.cz>2020-06-25 14:41:17 +0200
commit5b32edcf88fe0b952100547b1b26f2eda15d47f1 (patch)
tree96b48c68405607451b14cb9e7ea091be1a4a9bcd /local/bin/allsync
parentc76a1f17761b8b0787a8f142ca73dd69d6737387 (diff)
downloadmyconfigs-5b32edcf88fe0b952100547b1b26f2eda15d47f1.tar.gz
myconfigs-5b32edcf88fe0b952100547b1b26f2eda15d47f1.tar.bz2
myconfigs-5b32edcf88fe0b952100547b1b26f2eda15d47f1.zip
Replace offlineimap with isync
Diffstat (limited to 'local/bin/allsync')
-rwxr-xr-xlocal/bin/allsync20
1 files changed, 20 insertions, 0 deletions
diff --git a/local/bin/allsync b/local/bin/allsync
new file mode 100755
index 0000000..b475460
--- /dev/null
+++ b/local/bin/allsync
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+sec() {
+ echo -e '\e[1;34m==========' "$@" '==========\e[0m'
+}
+
+
+run() {
+ sec "Mail"
+ mbsync -a
+ ~/.local/sbin/newmail-notify
+
+ sec "Calendar and contacts"
+ vdirsyncer sync
+}
+
+
+
+
+run