mutt/offlineimapsyncquick.sh @ c925b9fad53c

vim: can I start drinking yet?
author Steve Losh <steve@stevelosh.com>
date Tue, 10 May 2011 11:27:43 -0400
parents d3e0c0c7ff37
children (none)
#!/bin/sh

PID=`cat ~/.offlineimap/pid`
ps aux | grep "[ ]$PID" && kill $PID

/usr/local/bin/offlineimap -q -o -u Noninteractive.Quiet &>/dev/null &

exit 0