Page 1 of 1

Open book via commandline [request]

Posted: Thu Aug 09, 2018 9:00 am
by nhedgehog
I wrote a script downloading my daily newspaper with curl.
At the end of the script I want to open the epub directly via cr3 with this line:

Code: Select all

. $ROOT/cr3/cr3 -stylesheet $STYLESHEET /mnt/onboard/${folder}/${file}
which translates into:

Code: Select all

. $ROOT/cr3/cr3 -stylesheet $STYLESHEET /mnt/onboard/.Books/Paper/mydailynewspaper.epub
which doesn't work.
Starting CR3 with:

Code: Select all

. $ROOT/cr3.sh
is working though.
Can Cool Reader open books via commandline and if, how can that be achieved?
Thanks for the help!