Open book via commandline [request]

Post Reply
nhedgehog
Posts: 7
Joined: Thu Oct 12, 2017 2:17 pm
My ELO: I don't know

Open book via commandline [request]

Post by nhedgehog » Thu Aug 09, 2018 9:00 am

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!

Post Reply