nsbin/mailsync
Nico Schottelius d898f9d3f8 add unison based mailsync
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
2015-06-25 21:54:43 +02:00

13 lines
243 B
Bash
Executable file

#!/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"