![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
|
searching for books modified
I attempted to find all of the books I had modified with the search term:
modified:>date: but this found nothing. What would the correct search term be? |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,145
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You can use the Qulity Check plugin if you have something you can search for in your modified eBooks.
|
![]() |
![]() |
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,630
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Because your comparing two columns (dates), I think you will need to do it with a template, see The calibre template language
BR |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,306
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Does this help
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
|
Thanks for all the attempts at help so far. However, none of them seem to be applicable.
However, I have made a slight step forward - the correct field name is actually "last_modified:", not "modified:" (discovered by putting the cursor in the column header). So if I change the search term to: last_modified:>date: I still get nothing, but also an error message: Date conversion error: date: So my search term is still wrong. Both should be dates, but ?? |
![]() |
![]() |
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
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:
There is a plugin that does: oddly enough called :Multi Column Search ![]() https://www.mobileread.com/forums/sh...d.php?t=261712 |
|
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
|
Thanks, theducks, that is what I need (as well as sqllite browser, to actually determine the Calibre database column names).
It appears that the column Date is actually timestamp in the database, and last_modified gets updated for any modification (of course!), so my query in Multi Column Search is something like: SELECT id FROM books WHERE last_modified > datetime(timestamp, '+2 days') What I wanted was to find books I had edited over the last month or so, thinking (stupidly) that last_modified would indicate that, but of course it indicates any change, to any column, and unfortunately there doesn't appear to be a column that indicates what the change was. Thanks all for the help. |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
A workaround of sorts is configuring the modify epub plug in to create an original_epub file whenever it is used.
If you run that as a final edit/tidy up step, after editing, then your modified books are the ones where that extra format exists and the date of that original format file may be accessible |
![]() |
![]() |
![]() |
#9 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,630
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#10 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
|
@stumped - do you mean that it is currently possible to configure the edit epub plugin to do this, or are you suggesting this as a modification to the plugin?
@BetterRed - yes, if I had had the the Audit Log plugin enabled, then I probably would have been able to find the books I edited. I have it turned on now. Thanks for the help. |
![]() |
![]() |
![]() |
#11 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,145
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
save_original_format = True save_original_format_when_polishing = True |
|
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
Quote:
you can set for an original format file to be created for either , or for both of, calibre conversion & modify epub action, or for never. dunno if any other plugins support it |
|
![]() |
![]() |
![]() |
#13 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,145
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That depends if other plugins create another copy of the eBook in the same format. Modify ePub takes the ePub, makes it's changes and then adds the changed ePub back in and Calibre then created the ORIGINAL_EPUB file.
|
![]() |
![]() |
![]() |
#14 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
|
@jswolf, @stumped,
Both of these settings are set to true for me, and when I edit the epub (using Edit Book, shortcut T), I do not get ORIGINAL_EPUB. It seems to me that save_original_format = True is for when you do Conversion to EPUB when there is already an EPUB, and save_original_format_when_polishing = True is for the plugin Modify Epub. I can't see a similar setting for Edit Book, which is the modification I usually do. Keith |
![]() |
![]() |
![]() |
#15 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,630
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The last_modified column refers to modification of metadata, not modification of format files (book contents), you can get them via the formats_modtimes template function, see ==>> The calibre template language
BR |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Searching Books | Samurai | Calibre | 2 | 07-24-2017 06:51 AM |
Searching books | crutledge | Upload Help | 1 | 04-06-2015 08:10 AM |
Books Metadata Sync and Searching Books | gavinjb | Kobo Reader | 7 | 05-29-2014 10:58 AM |
searching for books on the go | curious | Library Management | 10 | 07-23-2013 02:18 PM |
The save location for books will not change, even though I modified it | deckoff | Library Management | 2 | 07-12-2013 02:43 PM |