![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 5854
Join Date: Aug 2011
Device: none
|
Calibre command line - how to use and can it check the database?
Ok, I am running into a lot of errors with my Calibre due to reasons not quite clear now.
One is probably a screen magnifyer but Calibre causes problems and crashes even without it. Due to this I can't do some stuff anylonger (e.g. check library or even open the tag browser). Anyway, I thought using a command line instead of the GUI might help. But how do I do it? I read the manual but it does not explain it for dummies. http://manual.calibre-ebook.com/cli/calibredb.html# It also says there it could check the database with is one of the things I'd like to try. Again, what do I do, where do I type the commands etc.? It is obviously not the command prompt in Windows .. I run Windows XP Professional, sp3 Calibre Portable 1.26. |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,023
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
calibredb check_library >c:\temp\foo.txt
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,416
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
What theducks didn't mention is that you type that line in a DOS box (a "command prompt" box). One of these should be available in the Accessories group, but it has been so long since I have seen an XP box that I am not sure.
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,023
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Me
![]() The red is the place (path) to put the report file. (I have a temp folder off of root which is not the default for any Windows version ) |
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,708
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@manawydan check that Program Files/Calibre2 is in your Path environment variable, this will allow you to use the calibre command line programs directly from the data location (ie the library folder).
I would also suggest to close calibre before using the command line programs. BR |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,472
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,708
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
![]() ![]() @manawydan - so put the path to where Calibre Portable programs are 'installed' in the Path environment variable - for me that would be "C:\Program Files Portable\Calibre Portable\Calibre" Or run the commands from that location and specify paths to data, as and when required, in the commands eg Code:
calibredb check_library --library-path "E:\Calibre Libraries\Main" > C:\_Temporary\libcheck.txt BR Last edited by BetterRed; 03-08-2014 at 05:22 PM. |
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 15
Karma: 10
Join Date: May 2016
Device: Kindle Fire 1st Generation
|
I have run check_library and saved to a csv file. I can't find information on how to fix my database. Can someone lead me on the right path? Thanks.
|
![]() |
![]() |
![]() |
#9 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,023
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Common problems are: Missing content: (file got renamed or moved OUTSIDE of Calibre Extra content: (files exist because of rename/move/ restore via restore from trashbin OR you have a 2-way Cloud sync the pet a deleted file back. ) Each error log line says what is wrong. This is the ONLY time you should need to use Explorer (OS) inside the Library folder. Be sure to pay attention to the ID number Remove Extra files to a (not in the Library) folder. Add them normally if they are keepers. eg. Code:
C:\Users\aaa\bbb\MainLib\Nicola Claire\Accelerating Universe (18941)
You may have 2 books (different versions? or Dups) with the same title. 1) Add them back using Calibre or 2) remove the entry USING Calibre (where you go depends on what is missing). |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Command Line Conversion | bmwr1200c | Calibre | 1 | 08-10-2011 07:04 PM |
Autotagging with Calibre (command line) | erion | Calibre | 11 | 08-28-2010 01:33 PM |
Calibre Command Line Interface TOC | bcolflesh | Calibre | 3 | 02-04-2010 04:09 PM |
calibre command line utilities and calibre defaults | astrodad | Calibre | 2 | 08-07-2008 03:27 PM |
Command line interface to import to libprs500 database | astrodad | Calibre | 3 | 01-17-2008 10:53 AM |