10-05-2018, 04:02 AM | #1 |
Enthusiast
Posts: 42
Karma: 10
Join Date: Oct 2018
Location: Belgium
Device: none
|
Refreshing the library
Hi there,
I have installed Calibre a few weeks ago, and unleashed it on my library The lib is organised in subdirectories, based on the author's name initial: \A \B \C etc... I've been fiddling a bit with Calibre, doing tags updates etc... So far so good I have also done some activity at file name level: adding/deleting a few books to/from the directories, correcting a few typos on some titles and author's names... Now, I would like to refresh the whole stuff, while keeping the updates done in Calibre (tags etc) and the ones done at file level I'm a bit worried about using the "Add books" functionality as I don't want duplicates by adding everything again Question: what is the proper way to do an effective "refresh", which will take every add/update/delete into consideration, at metadata level and at file name level? Thanks a bunch :=) |
10-05-2018, 06:43 AM | #2 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
Next time read the instuctions before meddling.
You are probably screwed but someone may help you salvage the mess |
Advert | |
|
10-05-2018, 11:42 AM | #3 |
Grand Sorcerer
Posts: 10,081
Karma: 224450762
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Calibre doesn't recognize any changes done with the files manually. Your library is messed up now, as the Calibre database and the actual files are different.
All and any changes in a Calibre library must be made using the Calibre interface, not the OS. Last edited by Sirtel; 10-06-2018 at 02:16 PM. |
10-05-2018, 01:04 PM | #4 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Any changes made at file level are effectively lost but you can still salvage the calibre library. First and foremost, create a back-up of metadata.db and keep it somewhere safe. I'd do multiple backups just to be extra safe. I know I've overwritten my backup with a bad/corrupt copy on occasion.
Then, assuming your books are in the following: Code:
\Calibre Library\A\Author A\Title (id)\Title - Author A.ext \Calibre Library\Z\Author Z\Title (id)\Title - Author Z.ext Code:
\Calibre Library\Author A\Title (id)\Title - Author A.ext \Calibre Library\Author Z\Title (id)\Title - Author Z.ext Library maintenance -> Check library -> Do you want calibre to check if the files in your library match the information in the database? Yes Don't run any of the fixes. Instead expand the results so you can rename the files and folders you changed back to their original names in Windows Explorer or Finder (or whatever you use as file manager). If you've made more massive changes to the directory and file structure than the above such as removing (id) you're better off copying the library to a different location and re-importing with merge duplicates. |
10-06-2018, 06:50 AM | #5 |
Enthusiast
Posts: 42
Karma: 10
Join Date: Oct 2018
Location: Belgium
Device: none
|
Ok guys, thank you for the slap in the face
Actually, at this very minute, I don't really care about loosing the DB as I did not put the full collection under Calibre management Having said this, whenever I notice a typo in the file name, I must corrected. Fullstop I've been again and again searched the various menus, but did not find how to rename a book (read file name) from within Calibre Any pointer would be MUCH appreciated Second question: with time, I will be adding new FILES to the library directory tree and I will be wanting to do a full refresh Again, how do I do this without loosing the metadata updates already done and without duplicating everything, "as per the rules" Thanks! |
Advert | |
|
10-06-2018, 07:06 AM | #6 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
10-06-2018, 12:42 PM | #7 | |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Note, Calibre requires a very specific directory structure which you are not supposed to change manually via file manager.
https://manual.calibre-ebook.com/faq.html#id35 Quote:
|
|
10-06-2018, 02:20 PM | #8 | |
Grand Sorcerer
Posts: 10,081
Karma: 224450762
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
|
|
10-06-2018, 02:47 PM | #9 | |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Doing it this way *assumes* nothing goes wrong IMHO Archiving the original ON A DIFFERENT STORAGE DEVICE is a |
|
10-06-2018, 06:09 PM | #10 |
null operator (he/him)
Posts: 20,553
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
FTR : on Windows, if you you put a shortcut to calibre.exe in the SendTo folder you can then use the Send To option in the File (Windows) Explorer context menu to add books to the current library - calibre will start if its not already running.
To open the SendTo folder press Winkey+R then type shell:sendto BR |
10-12-2018, 02:13 AM | #11 |
Enthusiast
Posts: 42
Karma: 10
Join Date: Oct 2018
Location: Belgium
Device: none
|
Ok, I now understand my confusion about directory structures
Other library managers I use for media (music, movies & pictures) are only storing metadata and pointers to effective data in the library database Calibre is storing the data along with the metadata; and this changes the whole picture!!! When I said I was modifying file nd directories names with the file manager, I meant the source directories where my ebooks were stored before being imported in Calibre Obviously, I would never mess around in the "Calibre Library" sudirectories tree! Thanks a bunch to TheDucks whose last message made me get it! As far as I'm concerned: issue closed! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Refreshing the calibre catalog when new books appear in the library folder | Dan__ | Library Management | 2 | 04-08-2018 11:38 PM |
Refreshing book list for virtual library? | pwinn | Library Management | 3 | 09-18-2017 10:33 PM |
PB626 - Problem refreshing library and syncing with Calibre | grouphile | PocketBook | 0 | 06-08-2015 04:38 AM |
Refreshing library | jkgeyti | Kobo Developer's Corner | 2 | 04-20-2013 09:06 AM |
Refreshing Calibre? | Devon | Calibre | 7 | 11-19-2009 08:12 PM |