add unison based mailsync

Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-06-25 21:54:43 +02:00
parent 24e7054374
commit d898f9d3f8

13
mailsync Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
synctime=~/.mailsync
date > $synctime
unison -batch \
-ignore 'Name .git' \
-ignore 'Name .notmuch' \
-ignore 'Name procmail.log' \
~/Maildir ssh://nico-vm.schottelius.org/Maildir
date >> $synctime
cat "$synctime"