|
|
Thread Tools | Search this Thread |
06-13-2020, 02:15 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2020
Device: none
|
Automatically Setting Date field to file creation date when importing.
Is it possible to automatically set the Calibre date field to equal the Windows file creation date (or modified date) when importing said file?
|
06-13-2020, 02:30 PM | #2 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2020
Device: none
|
If that isn't possible, I could possibly edit the metadata after fact via a script. Is the easiest way to go about that to change the date in the OPF file? How do I refresh the metadata for the files afterwards?
|
Advert | |
|
06-13-2020, 03:40 PM | #3 | |
Well trained by Cats
Posts: 30,402
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Last_modified is the date ANY data base entry for that book changes, If you really need/want this to remain under YOUR control, you should create a custom column. I do this for Finished (reading) and Edited (when I clean, tweak and Validate ) YMMV |
|
06-13-2020, 04:25 PM | #4 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2020
Device: none
|
I am aware the Date column by default is just an indication of when the entry was created. I would like to change that behavior to being a value read from the imported file's date property. I'm referring to the OS's file system properties and not any existing data within Calibre.
I could create a custom column. But how would I get Calibre to populate it based on a file's system properties? |
06-13-2020, 06:14 PM | #5 |
null operator (he/him)
Posts: 20,948
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Created Date is only available on Windows/NTFS.
The GetFileName plugin runs when a book is added, it can store the file's Modified Date in a custom Date column ==>> Index of plugins BR |
Advert | |
|
06-13-2020, 10:07 PM | #6 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2020
Device: none
|
Thanks BetterRed. I will look into using that plugin.
|
07-25-2020, 10:35 PM | #7 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2020
Device: none
|
In case anyone else wants to manage metadata in an unusual way, Calibre's command line utilities are a good option if there's no other built in methods or add-ons available. In the end, that's what I used to change the data fields after importing the files to Calibre
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What date is used in the 'Date' field of CC Metadata window? | ShaunBlake | Library Management | 2 | 06-18-2019 05:32 PM |
Sort by system file creation date | Alaa | Calibre | 3 | 02-22-2019 01:41 PM |
Importing Books: Getting date from file attributes | ownedbycats | Library Management | 3 | 11-09-2018 05:59 PM |
Adding file creation date, how? | Orwellian | Calibre | 2 | 11-07-2016 06:27 AM |
Saving to disk problems, and question about "Date field" after importing | PO40600 | Library Management | 1 | 01-28-2013 10:42 PM |