08-21-2016, 12:53 PM | #1 |
Bibliophile
Posts: 37
Karma: 10
Join Date: Jul 2011
Location: So. CA
Device: Nook Glowlight, iPad
|
Custom Column for Folder Name AND Number??
I have many book duplicates to sort through and delete. (You don't wanna know....)
Example: At the top of the attached PDF, is my (dumb) attempt at making this column that doesn't work. Below this is a list of four folders for Lynn Abbey's The Nether Scroll, each with a unique number in parentheses. The book highlighted is the one I want to keep, deleting the others. Oddly enough, this book doesn't show up in the search for duplicates results; only the other three. So....
Hope this is the right place for this thread! Any help would be MUCHLY appreciated! |
08-21-2016, 01:33 PM | #2 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
{id} is the number part
{title} is the Title You can use them in templates without creating a Custom Column the ID Nimber also shows in Both the Comments AND the details (Tap 'I') window |
08-21-2016, 06:48 PM | #3 |
null operator (he/him)
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I assume you're using the Find Duplicates plugin, it looks at the values in in the calibre library database not the library folder names.
Calibre uses the file system as backing (secondary) storage for it's library database. The folder & file names in a calibre library are 'arbitrary', which approximate to what's in the database (which is what you see in the book list etc) - it is better by far to ignore the author and book folders. If you change an author or title the library folder and file names will change, in some circumstances including the book number. BTW in Nether Scroll (5712) you have files that shouldn't be there, see attachment. BR |
08-22-2016, 12:33 PM | #4 | |||
Bibliophile
Posts: 37
Karma: 10
Join Date: Jul 2011
Location: So. CA
Device: Nook Glowlight, iPad
|
Thanks for replying, theducks! Love your byline... I used to be really good at brainstorming but age, chemo, and meds have left me rather brainless. Makes life even more interesting!
Quote:
Quote:
====== Quote:
Yes, using the Find Duplicates plugin--worked too well. I have those extra .jpg files in the majority of my books. I didn't put them there so figured Calibre did when I picked a larger pixel cover. I don't know what they're for so hesitate to delete them. After messing up my attempts to import/copy my 7K books library from old PC to new iMac and inadvertently deleting my perfected library, I'm at a point where I'm afraid to delete anything! I'm in shock! My wimpy attempt at the custom column for folder (at the top of the PDF I attached) WORKED!!! It was there when I started Calibre this AM. Not only do I have the exact info I wanted in its own column, but it shows up in each book's information (comments?)! Ahhh, with a little help from my friends! Karma to you both! |
|||
08-22-2016, 12:55 PM | #5 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
When I say tap <letter>,
Those are standard Calibre keyboard shortcuts that apply to the selected book in the spreadsheet (view). just tap the key once a few: C convert V View I information ... See the Help for the full (default) list. Like most things in calibre, YOU can customize the shortcut keys |
08-22-2016, 02:13 PM | #6 |
Bibliophile
Posts: 37
Karma: 10
Join Date: Jul 2011
Location: So. CA
Device: Nook Glowlight, iPad
|
I have been using Calibre for 5 years and either forgot about or didn't know about these shortcuts! Definitely going to check them all out.
|
08-22-2016, 06:25 PM | #7 |
null operator (he/him)
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@kksdragons - I can't imagine what purpose your Folder/folder_name column serves, or how you propose to maintain its value if and when a folder name changes.
If you want to open a book's folder press 'O', or click "Click to Open" in the Book Details sidebar (if it's not there then you need to select 'Path' in Preferences->Look and Feel->Book Details). Here's most of the standard keyboard shortcuts ==>> calibre: Keyboard Shortcuts ---------------------- Kovid reserves the right to have calibre silently rename library sub-folders folders and files as and when necessary - he's done so on a least one occasion, and the vast majority users (3+ million) never even noticed. As you know Calibre runs on a multitude of platforms - Operating Systems & File Systems in their various guises and versions. Some platforms support very long path lengths, others support foreign alphabets, others are case sensitive, others disallow some characters. Calibre handles the variations by normalising the folder and file names to a common set of restrictions. There could be a corner case, a change in a platform, or even a new platform (e.g. Microsoft's ReFS) that necessitates adjustment to the restriction set, which could result in silent name changes to existing library sub-folder and file names. ---------------------- I suspect those spurious files were present in your so-called 'perfect library' on your old computer, I'd put money it. I'd also put money on the fact that calibre itself didn't create them, and that there existence may have contributed to the problems you had in transferring your library. IMO a 'perfect' library is one on which Check Library reports no errors. I run it against my libraries on a weekly basis (via the calibredb check_library command) if any errors are found I invariably know why - Ahhh, that would have happened when the power went out and I was editing that book. I can't recall an instance where I couldn't attribute an error to something I did or didn't do. I fix any errors before doing my weekly backup. One way to fix your library in part at least, after taking a back up of it, would be to select all books and copy them to an empty library using calibre's Copy to Library - delete after copy feature. It won't copy the spurious files, and if you set your Add Book preferences to Ignore incoming duplicates that will help you resolve your duplicates. The books that remain in your 'old' library are duplicates in respect of the Title, you need to decide what to do about them. Once you've done that I suggest you run Find Duplicates on the new library looking for Similar Title and Author values. BR Last edited by BetterRed; 08-22-2016 at 06:56 PM. |
08-23-2016, 03:18 AM | #8 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
i think the spurious files are from the fact that Calibre2opds has been used to generate a catalog and the user has elected to use optimised images in the catalog. The files that start with the c2o_ string are put there by Calibre2opds to optimise between runs (and it is not a problem if they get removed for any reason as they would simply be regenerated). You can add that as a string to identify files to ignore during a library check.
|
08-23-2016, 04:16 AM | #9 | |
null operator (he/him)
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Good to know someone reads my posts BR |
|
08-23-2016, 10:05 AM | #10 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Not sure if they get copied or not. However it does not seem to really matter as Calibre2opds will regenerate such files if needed the next time it is run. It is just that saving them between runs provides a significant runtime optimisation.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Column with sub-folder template | Tanjamuse | Library Management | 6 | 01-13-2014 12:22 AM |
Custom column returns value based on value of another custom column? | calvin-c | Calibre | 3 | 09-14-2013 02:24 PM |
Custom yes/no column built from long text column | Philantrop | Library Management | 7 | 03-23-2013 07:44 PM |
custom column: count number of characters (in book path) | miquele | Library Management | 25 | 09-21-2012 01:54 PM |
Custom column to display number of chapters? | crackshot91 | Library Management | 10 | 09-08-2012 04:56 PM |