View Single Post
Old 02-22-2014, 09:40 PM   #1
Mr.Walkman
Junior Member
Mr.Walkman began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2014
Device: Kindle
Question Epub -> Mobi -> Mail with commandline

Hi there,

I'm trying to use the Automator in Mac to do a oneclick solution for converting a epub-file to mobi and then send this file by mail to my kindle.

I got the conversion working with this bash-skript:

Code:
while read LINE
do
	/usr/bin/ebook-convert "$LINE" "$LINE.mobi" --output-profile kindle_pw
done
I tried to include calibre-smtp but the script always failes. How can i hand over the converted file to calibre-smtp in the same command?

calibre-smpt -a "$LINE.mobi" -u... -p... and so on isn't working.

Thanks for your help!
Mr.Walkman is offline   Reply With Quote