Is this for crontab or for the .sh script?
Quote:
Originally Posted by Divingduck
Here is an example call that works for a single document:
calibredb add --with-library "http://localhost:8080/#Your-Library" --username YourUsername --password YourPassword "c:\Path\to\your\documents\dokument.pdf"
or
calibredb add --with-library "http://Your-Server:8080/#Your-Library" --username YourUsername --password YourPassword "c:\Path\to\your\documents\dokument.pdf"
You need to change Your-Library, YourUsername, YourPassword and "c:\Path\to\your\documents\dokument.pdf" to your needs. If you connect with a additional device to your server, you need a server name instead of localhost (second sample) and/or if you have assign a different port as 8080 you need to adust this too.
|
Maybe I'm not being clear about what I'm trying to do.
I have a Calibre Server. It is working and is viewable on localhost:8080 or online at xxx.xxx.xxx.xxx:8080. It maintains its library at /myserver/calibre/calibrelibrary.
I want to monitor a folder for new books to be imported into the library /myserver/calibre/calibreadds. I was following the instructions posted on DigitalOcean's tutorials. Everything worked up until the point of running the monitoring the folder and adding to the main library.
The calibre server and library are both running under the user 'calibre' with full access (or so I thought).
When I ran the script and the crontab, it seemed to be adding books. It confirmed it added titles (as mentioned above). But those titles do not appear in the list of books or cover tiles when I check localhost:8080.