diff options
author | Karel Kočí <cynerd@email.cz> | 2020-06-25 14:41:17 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-06-25 14:41:17 +0200 |
commit | 5b32edcf88fe0b952100547b1b26f2eda15d47f1 (patch) | |
tree | 96b48c68405607451b14cb9e7ea091be1a4a9bcd /local/bin/allsync | |
parent | c76a1f17761b8b0787a8f142ca73dd69d6737387 (diff) | |
download | myconfigs-5b32edcf88fe0b952100547b1b26f2eda15d47f1.tar.gz myconfigs-5b32edcf88fe0b952100547b1b26f2eda15d47f1.tar.bz2 myconfigs-5b32edcf88fe0b952100547b1b26f2eda15d47f1.zip |
Replace offlineimap with isync
Diffstat (limited to 'local/bin/allsync')
-rwxr-xr-x | local/bin/allsync | 20 |
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 |