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!