Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-19-2025, 06:11 AM   #1
RayGoe
Junior Member
RayGoe began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2021
Device: none
Lightbulb help req.: compare 2 columns

Hi, I could really need some help wit h my "problem":

I have a collection of over 16.000 items (PDF).
In my Calibre management I created additional fields/columns to store relevent information about these documents. For some uniformity and easy search/retrieval i created a template for the document name, this also makes it easier to spot doubles or similar items.

For easy renaming I created a column that uses lookup of other columns to create the name according to my template, so far no issues.

To rename the title to my "template name" I use the edit metadata button and this works fine, still no issues.

When I add new documents, with names not according to my template, they are easily spotted because I use a certain "marker" that isnt common for normal documents so that I can adjust the title to the required template..

Now comes the issue, sometimes in an existing document some value changes, a value that is part of the "template name", so the name has to be updated to the template name (so far so good), sometimes I forget to update, sometimes somebody else updates a field and isnt as technical so the y think little elves will change it automatically.

So once in a while i just update ALL names with the templated name column, and this takes a while, So i thought:"why dont i compare the name and the tmpname with each other and only mark/select those who differ and update these titles?" and thats where I'm stuck.

Help is greatly appreciated. Please overexplain, I'm not dumb but better assume I don't know what or where to do it then to get 50 follow-up questions
RayGoe is offline   Reply With Quote
Old 03-19-2025, 07:45 AM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,730
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Save the relevant columns to a CSV file and use a spreadsheet to compare the columns - highlight, discarding, whatever.

BR
BetterRed is offline   Reply With Quote
Advert
Old 03-19-2025, 09:37 AM   #3
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
You are better served with using a composite columns to store you template, which should be updated automatically anytime any other member column is changed.

Composite columns use calibre's Template Language, so for example if you have a template like this:

Code:
{authors} - {series} - {title}
Anytime any of the above column changes, it will be reflected automatically in your composite column. To learn more about this, consult the calibre documentation.
capink is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ratings Custom Columns Created From other Columns Tanjamuse Library Management 4 09-28-2020 12:57 AM
Help Needed for Custom Columns Created From other Columns Tanjamuse Library Management 5 09-02-2018 06:19 PM
Compare two cuolumns (boolean) to fill new custom columns Angel Crawford Library Management 2 12-05-2016 04:31 PM
Android [REQ] Astonomy app renchy enTourage Archive 1 08-30-2010 08:27 AM


All times are GMT -4. The time now is 01:05 AM.


MobileRead.com is a privately owned, operated and funded community.