Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-16-2011, 02:42 PM   #1
silentguy
Connoisseur
silentguy doesn't littersilentguy doesn't littersilentguy doesn't litter
 
Posts: 88
Karma: 200
Join Date: Nov 2010
Location: Dortmund, Germany
Device: Kindle Paperwhite (10. Generation)
Age of files/format?

Hi!
I have a library full of fanfiction what mostly came as txt files with a few html files mixed in. I converted all of them to epub to better work on my reader.
From time to time I have to append to some of the text documents and I try to remember to recreate the epub immediately, but i fear I might not have been consequent about that.
I was wondering if there is any way to search for books with text files that are newer then the epub files. Or books where epub is not the newest of the files, or anything else related to age of books.

I'm assuming this is to close to the file level, but I thought I'd ask.
silentguy is offline   Reply With Quote
Old 12-16-2011, 02:55 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
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:
Originally Posted by silentguy View Post
Hi!
I have a library full of fanfiction what mostly came as txt files with a few html files mixed in. I converted all of them to epub to better work on my reader.
From time to time I have to append to some of the text documents and I try to remember to recreate the epub immediately, but i fear I might not have been consequent about that.
I was wondering if there is any way to search for books with text files that are newer then the epub files. Or books where epub is not the newest of the files, or anything else related to age of books.

I'm assuming this is to close to the file level, but I thought I'd ask.
All I know is you can hover over the format in the metadata editor and see the 'filesystem modified' timestamp

In the GUI Date is the (default) timestamp the record was created
There is also a 'Modified' timestamp that belongs to the books metadata
theducks is offline   Reply With Quote
Advert
Old 12-17-2011, 03:34 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by silentguy View Post
Hi!
I have a library full of fanfiction what mostly came as txt files with a few html files mixed in. I converted all of them to epub to better work on my reader.
From time to time I have to append to some of the text documents and I try to remember to recreate the epub immediately, but i fear I might not have been consequent about that.
I was wondering if there is any way to search for books with text files that are newer then the epub files. Or books where epub is not the newest of the files, or anything else related to age of books.
Calibre does not support multi-field search expressions, so you cannot search for format1 newer than format2.

What you can do, in order of ease:
- Display the mod dates for all the formats of a book. Create a composite custom column (column made from other columns) and use the template "{formats_modtimes(yyyyMMdd)}". Change the date format string (yyyy etc) to be what you want).
- If you have a small known number of formats, then create a composite custom column for each format. There is a post somewhere on the forumn with the template. This would permit you to sort format by format.
- Create a custom template function to give you the information you want. This requires a fair amount of technical expertise, but the custom function can compare the modtimes of the formats and return the indication you want to see. For example, it could return the extension of the newest format, whether epub is older than some other format, the list of formats sorted in modtime order, or what-have-you.

Of course, you could write a program that does this on the file system, which may or may not be easier to do than the custom template function.
chaley is offline   Reply With Quote
Old 12-18-2011, 05:58 AM   #4
silentguy
Connoisseur
silentguy doesn't littersilentguy doesn't littersilentguy doesn't litter
 
Posts: 88
Karma: 200
Join Date: Nov 2010
Location: Dortmund, Germany
Device: Kindle Paperwhite (10. Generation)
thanks! formats_modtimes was pretty much what i was looking for. I created a custom column with some template magic and now i have a column a note if the txt or zip is newer then the epub. Got more matches that i expected, but they all were acurate
silentguy is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Few files in the same format dinya Library Management 8 09-06-2011 03:36 PM
Annotations in PDF and other format files? riverteeth Sony Reader 0 04-10-2011 02:46 AM
How to export files in different format? Johnymalina Calibre 10 11-24-2010 05:26 AM
Format showing PDF files when all files are mobi chilady1 Calibre 4 11-05-2010 01:08 AM
Which format should I convert .lit files to? Joe Schmoo Astak EZReader 16 01-30-2010 12:23 PM


All times are GMT -4. The time now is 04:32 AM.


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