04-25-2014, 02:28 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2012
Device: sony tr1
|
Display date of file in library
dear all
i use to sort my library by the column "date". it seems as if that's the date when the metadata of the book was last changed. that allows me to display the newest added book on the top/bottom of the grid. For some reason that data hast changed. all my books do have the same date now! I have checked the files on my harddrive, the file date is correct, displaying the date the file was created. but that's not the case in calibre's library anymore! Question: is there a way to order the books in the library by the date the file was created/edited on the harddrive? regards |
04-25-2014, 03:08 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
|
Quote:
It can be triggered by anything that affects anything that shows in the Tag Browser (and a few others). (Not reliable for real changes) Date is the date the RECORD was created (if you don't mess with that) Published, well, that should be obvious There is no database of the File date. You can hover over the format in the Metadata edit window and see the formats timestamp |
|
Advert | |
|
04-25-2014, 04:01 PM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2012
Device: sony tr1
|
In the metadata dialoge there is a field named "date" which seems to contain the file date. did i understand you correctly that it is not possible to add a custom column with the file date?
|
04-25-2014, 05:38 PM | #4 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
There is no feasible way show the file system dates within calibre itself (except via mouse hovering in a secondary window). A 'book' folder usually has several files: a cover.jpg, the metadata.opf file and one or more format files; all of which can have different values in their Date Created and Date Modified file system properties. So then the question becomes for which one of those should the file system dates be shown as columns for a given book... The bottom line is - if you want to see the file system dates for a book press 'O' and examine what the file system manager reports them as being. BR |
|
04-26-2014, 03:48 AM | #5 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
If by "date of file" you mean the date of the book file(s) in the library then you can see them using a custom column "built from other columns". The template is
Code:
program: formats_modtimes('yyyy-MM-dd') Code:
program: formats_modtimes('yyyy-MM-dd hh:mm:ss') Code:
MOBI:2013-10-25 09:06:35,EPUB:2013-10-12 18:25:52,PRC:2012-02-12 10:02:28 Be aware that this kind of column can slow down calibre's GUI because the gui must look up the modtime of every book format. Experience indicates that this usually isn't a problem with under 1000 books. YMMV. |
Advert | |
|
04-26-2014, 05:53 AM | #6 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@chaley - were the formats_modtimes/paths/sizes functions recently added, I can recall other posts asking for some way to get the sizes and file system dates.
Quote:
BR |
|
04-26-2014, 07:31 AM | #7 | ||
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
|
||
04-26-2014, 05:56 PM | #8 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@chaley - thanks, yes, the new backend did speed up composite columns, I was able to reinstate one that I had previously removed because it was having an adverse effect on performance - so far so good.
I think I know why I missed the formats_xxx() functions, would have searched the manual for 'file' within 3 words of 'date' and 'size'. The three formats_xxx functions work fine in Book Information as I envisaged. Would be good if one could optionally specify a format eg formats_size('EPUB'), formats_modtimes('MM/dd/yyyy', 'AZW3') Discovery : you can sort on a column with the Sort By feature even though the column is not shown in the book list. BTW : the PDF version of the manual has a 'misprint', see attachment, shows up in 4 viewers, Firefox, Chrome, XChange and Foxit. I think its been there for a while. BR |
05-02-2014, 01:18 PM | #9 |
Connoisseur
Posts: 52
Karma: 8860
Join Date: Jul 2009
Location: Madrid, Spain, EU
Device: Sony PRS-505, Sony PRS-T1, Sony PRS-T3
|
Some time ago I wanted to create a column that sorts books by date and time added (or modified) - and I managed to do it (... with a lot of help from others!!). I use it to keep track of changes, new additions, etc.
I know that this is not exactly what you are looking for, but having a look at that thread might be of some help: https://www.mobileread.com/forums/sho...d.php?t=238284 |
05-02-2014, 06:44 PM | #10 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
05-03-2014, 03:57 AM | #11 | |||
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Sorry, got busy and forgot to reply to this.
Quote:
Quote:
Code:
program: select(formats_modtimes('yyyy-MM-dd'), 'EPUB') Quote:
|
|||
05-03-2014, 05:23 AM | #12 | |
Connoisseur
Posts: 52
Karma: 8860
Join Date: Jul 2009
Location: Madrid, Spain, EU
Device: Sony PRS-505, Sony PRS-T1, Sony PRS-T3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BCE date display | kite | Library Management | 2 | 08-12-2012 12:33 AM |
Date Added column? Can I set date when book added to library? | fitzhugh | Calibre | 4 | 06-03-2012 05:42 PM |
Date display | DarkRose | Amazon Kindle | 2 | 08-08-2011 01:00 PM |
File Name display option in Library? | FoxkehKayak | enTourage Archive | 5 | 11-13-2010 07:09 AM |