View Single Post
Old 07-24-2010, 11:17 PM   #3
Edge User
I use a set of scripts to accomplish this, still working out the kinks. Right now I mail entries I want to sync to an external server and process them there. Would be better if it could all happen on the device - but probably need the entourage specific sdk to get the right hooks to do stuff smoothly.

UPDATE: for anyone interested, here's the basic script I use: (runs on OSX, but should work on Linux. Needs fetchmail, imagemagick, mutt, and munpack)
(I originally had it compositing all the images into a single mail message, but found evernote was indeterministic about import order, so I switched to sending them all in and merging them manually)

foo=`mktemp -d /tmp/journal.XXX`
t=`echo Journal $d`
echo $foo
cd $foo
fetchmail -u -B 1 -m munpack
name=`echo *.pdf | sed s/.pdf//g`
convert -density 150 $name.pdf $name.jpg
for e in *.jpg
n=`echo $e | sed s/.jpg//g`
mutt -a $e -s $n -x -z < /dev/null
cd $p
rm -rf $foo
echo Done

Last edited by ericvh; 07-26-2010 at 02:48 PM. Reason: UPDATE with example code