I am having trouble listing using the calibredb commandline interface on a headless server (no X so can't start gui there).
I can add books with calibredb add --with-library=$HOME/Ebooks -r "Philip Kerr" for example. That works.
But I want to list them right after that. calibredb isn't verbose when it's adding books, so I don't know which titles were added when I didn't know which books of Philip Kerr I have in that folder.
calibredb list doesn't work, not even calibredb list --help which should give syntax on how to use it according to the output of calibredb --help.
Code:
Traceback (most recent call last):
File "site.py", line 58, in main
File "site-packages/calibre/library/cli.py", line 1192, in main
File "site-packages/calibre/library/cli.py", line 159, in command_list
File "site-packages/calibre/library/cli.py", line 51, in get_db
ValueError: No saved library path, either run the GUI or use the --with-library option
As I cannot run calibre GUI on my server I always specify --with-library=/path/to/library (or do I have to set it like /path/to/metadata.db?)
2 questions:
1. Can I set calibredb add to a more verbose output (like what books are added to the db for example? like author - title output, or filelocation perhaps)
2. How do I use the list option to find the books just added? (after that I want to use other commands on them, like fetch metadata for it for example).
edit:
ubuntu server 10.04 32bit, calibre 0.8.26