mutt/offlineimapsyncquick.sh @ da8bea48a822

zsh: fabric plugin
author Steve Losh <steve@stevelosh.com>
date Thu, 23 Dec 2010 11:23:12 -0500
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