|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 254
Karma: 356710
Join Date: Jan 2016
Location: France
Device: none
|
Hello,
This is my first try at adding books to Calibre through the command line… and neither works: Code:
"C:\Program Files\Calibre2\calibredb.exe" --add .\*.epub "C:\Program Files\Calibre2\calibredb.exe" add .\*.epub Thank you. Last edited by Shohreh; Yesterday at 07:16 AM. |
|
|
|
|
|
#2 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,866
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You have to use the GUI to send books to your Kobo. And since you have to use the GUI to send books to your Kobo, you may as well use the GUI to add books.
If you don't use the GUI, you'll nver know if there are any errors in the metadatda. |
|
|
|
|
|
#3 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 254
Karma: 356710
Join Date: Jan 2016
Location: France
Device: none
|
Too bad. Thank you.
I might wipe up my own script to keep track of books and copy the files to the Kobo :-) |
|
|
|
|
|
#4 | ||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,384
Karma: 1589505
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
Quote:
Code:
calibredb add "path/to/your/local/folder" "path/to/device/destination/folder" Code:
calibredb add ./ 3) If you need to send books from the library, you must first export (calibredb export) them to a temporary folder, then send to your device (ebook-device cp). You can write a script to run it with a single click, if you use this often. Last edited by thiago.eec; Yesterday at 08:41 AM. |
||
|
|
|
|
|
#5 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,866
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That (IMHO) is way too complicated. It's much easier to use the GUI.
|
|
|
|
|
|
#6 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,392
Karma: 182161789
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Once you have stepped through it once and created a script to perform the actions, it simply becomes a matter of launching the script.
|
|
|
|
|
|
#7 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,827
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
What's the point of adding ebooks to a calibre library**, which is what the calibredb add command does, if you never use the calibre library manager - i.e. the "GUI"?
** - a folder with a metadata.db sqlite database with a calibre specific schema, a hidden .calnote subfolder, a hidden .caltrash subfolder… and a hierarchical author/book subfolder structure. The hidden folders are not empty, they contain fixed name subfolders and the one for notes contains another calibre specific sqlite database. How does one create a calibre library, as defined above, other than via the calibre library manager (GUI) Choose library→Switch/create library action? BR Last edited by BetterRed; Yesterday at 06:39 PM. |
|
|
|
|
|
#8 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 254
Karma: 356710
Join Date: Jan 2016
Location: France
Device: none
|
It's getting complicated.
Can an expert summarize the CLI commands to… 1. export *.EPUB from a given directory to Calibre's DB 2. export documents from Calibre's DB to Kobo 3. list+search documents from Calibre's DB so I can find if I ever read that document ? |
|
|
|
|
|
#9 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,866
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#10 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,866
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Wha is it you have against the GUI? |
|
|
|
|
|
|
#11 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,702
Karma: 250801379
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
I agree that using the GUI for automatic tracking is much easier than fiddling with command line tools, but those who hate the calibre GUI presumably don't share this viewpoint. |
|
|
|
|
|
|
#12 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,702
Karma: 250801379
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
Of course, if they also want to start tracking their reading, that does make things more complicated. On one hand, they don't want to mess with library management, but on the other hand they want to know what they've read, and that means there has to be some management, like it or not... Of course there are alternatives to calibre, like Goodreads, Storygraph or just a plain Excel sheet. All those mostly require manual management, though. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre issues with adding books using cli | klackerz | Calibre | 1 | 07-06-2018 06:06 AM |
| Adding books on cli leads to error | johnny_cgn | Calibre | 11 | 06-26-2018 04:12 AM |
| Adding Author Links Programmatically through cli or the api | klackerz | Calibre | 2 | 06-20-2017 05:05 AM |
| Adding online metadata using ISBN from CLI | EditorJack | Calibre | 17 | 01-20-2009 01:47 AM |