mutt/offlineimapsync.sh @ a6d288122297

Wrap with quotes.
author Steve Losh <steve@stevelosh.com>
date Wed, 13 Jul 2011 16:50:22 -0400
parents d3e0c0c7ff37
children c6446e280dab
#!/bin/sh

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

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

exit 0