From 5b32edcf88fe0b952100547b1b26f2eda15d47f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 25 Jun 2020 14:41:17 +0200 Subject: Replace offlineimap with isync --- local/bin/allsync | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 local/bin/allsync (limited to 'local/bin/allsync') 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 -- cgit v1.2.3