Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-09-2018, 05:52 PM   #1
nrcastillop
Junior Member
nrcastillop began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2018
Device: Kindle Paperwhite 2015
Is there a way to know which formats are original? (not conversions made by Calibre)

Hello! I want to know if there's a way for me to know which formats are the original format (the ones I imported to my Calibre library) and which ones are conversions made by Calibre. If there is not an automatic way, I'd like to know how I can add a note to comment about this somewhere that doesn't change the original files. Since I have retail versions of my books, I'd like to not tamper with them in any way, but since I always either convert from epub to azw3 or vice-versa, I don't know which one of the two is the original. That is not really working for me because for archiving/backup purposes I'd like to know which one of them is the original file. Thanks!
nrcastillop is offline   Reply With Quote
Old 01-09-2018, 06:12 PM   #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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by nrcastillop View Post
Hello! I want to know if there's a way for me to know which formats are the original format (the ones I imported to my Calibre library) and which ones are conversions made by Calibre. If there is not an automatic way, I'd like to know how I can add a note to comment about this somewhere that doesn't change the original files. Since I have retail versions of my books, I'd like to not tamper with them in any way, but since I always either convert from epub to azw3 or vice-versa, I don't know which one of the two is the original. That is not really working for me because for archiving/backup purposes I'd like to know which one of them is the original file. Thanks!
To 'automate' for new books you can use the GetFileName optional plugin to record the file extension used when a book is created in a custom column.

On Windows, for existing books you should be able to work it out by sorting the book folders content into Created Date order - the earlier date should be the format you added. Linux and OSX file systems don't retain a Created Date property.

BR
BetterRed is offline   Reply With Quote
Advert
Old 01-09-2018, 06:47 PM   #3
nrcastillop
Junior Member
nrcastillop began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2018
Device: Kindle Paperwhite 2015
Quote:
Originally Posted by BetterRed View Post
To 'automate' for new books you can use the GetFileName optional plugin to record the file extension used when a book is created in a custom column.

On Windows, for existing books you should be able to work it out by sorting the book folders content into Created Date order - the earlier date should be the format you added. Linux and OSX file systems don't retain a Created Date property.

BR
For the first option sadly it only stores the first filename, and I sometimes have more than one original filetype. And for the second point I have the same problem, I think I'll try to create a custom column, my question is if by doing that I might change the original files in any way, do you know about that? Thanks for your time!
nrcastillop is offline   Reply With Quote
Old 01-09-2018, 07:13 PM   #4
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Changing metadata, including adding custom columns, does NOT change any in-library format files.

If you want to inject the current metadata into the in-library format files, you must use the Polish book or Embed Metadata tools, or the Modify optional plugin.

If you Save a Book to Disk or Send it to a Device, the format file(s) saved/sent will contain the current metadata, but the in-library copies won't change.

Can I suggest you a) familiarise yourself with the User Manual, particularly the 'The main calibre user interface' and the 'Frequently Asked Questions' sections, and spend some time watching the Video Tutorials. I normally loathe video tutorials, but the ones Kovid has made for calibre are excellent - watch a segment, then do it on a test library - repeat if necessary.

BR
BetterRed is offline   Reply With Quote
Old 01-15-2018, 02:14 PM   #5
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 1,897
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
Can't you just right-click on the book, choose "Open containing folder", and look at the timestamps of the files? Oldest timestamp should equal the original.
haertig is offline   Reply With Quote
Advert
Old 01-15-2018, 02:28 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You have a Kindle. Why would you be converting to ePub?

Anyway as to knowing which is the original and which isn't, it can be very easy. You just have to look at the source in the editor and see if the source code is full of Calibre styles. The one that's not is the source. But, some companies do use Calibre, so it's not fool proof. But in most cases it will work.
JSWolf is offline   Reply With Quote
Old 01-15-2018, 02:41 PM   #7
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 1,897
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
Quote:
Originally Posted by BetterRed View Post
Linux and OSX file systems don't retain a Created Date property.
Of course they do. They store ctime, mtime and atime (creation time, last modification time, last access time). The creation time is the time when the file was created on your system, unless you specified to use the creation time from the original computer you imported the file from. But for purposes of finding out which is "the original" Calibre copy - the one you imported - your systems ctime is perfectly good for that. So is mtime in most cases, as that is generally the most useful timestamp for typical day to day stuff, thus what you get by default from the "ls -l" command.
haertig is offline   Reply With Quote
Old 01-15-2018, 02:57 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
What I do is I have a library for my source eBooks and I have another library for the eBooks I'm going to format shift or edit or put on my Reader. This way, I have the originals safe.
JSWolf is offline   Reply With Quote
Old 01-15-2018, 04:23 PM   #9
sjfan
Addict
sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
Quote:
Originally Posted by haertig View Post
Of course they do. They store ctime, mtime and atime (creation time, last modification time, last access time). The creation time is the time when the file was created on your system, unless you specified to use the creation time from the original computer you imported the file from.
ctime is not file creation time—that’s a common mistake made by new Unix users.

ctime is the inode change time. Any change to the inode info will update the ctime, even if the file remains unchanged. For instance, a chown or chmod on a file updates the ctime.

Code:
$ echo "Test" > test.txt
$ ls -clt test.txt    # File was created at 16:20
-rw-rw-r-- 1 user group 5 Jan 15 16:20 test.txt
$ chmod g-w test.txt    # Change permissions at 16:21
$ ls -clt test.txt     # File was still created at 16:20, but ctime tracks the inode change not the creation time
-rw-r--r-- 1 user group 5 Jan 15 16:21 test.txt
$ cat test.txt      # File is unchanged; still the same one created at 16:20
Test
sjfan is offline   Reply With Quote
Old 01-15-2018, 07:04 PM   #10
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 1,897
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
That is correct. However, I didn't want to bring up the concept of inodes or the difference between, say, "cp" and "cp --preserve=all" on the first go-round of this discussion. Especially since when you import a file using Calibre's GUI, you're going to get whatever default inode-modifying behavior that Calibre provides. And if you are experienced enough to know the difference, as you obviously do, then the original question in this post would not have needed to be asked. For all we know, the O.P. is using Windows, not *nix, and file permissions, ownerships, etc. are completely different there.

For the typical GUI-using *nix or Windows user, the timestamp generated by importing a file into Calibre is effectively the creation time, however, technically it is not. I agree with you there. Maybe this was my error in skipping over some of the details in a misguided attempt to make things simpler to understand.

"Follow not the null pointer, for madness awaits thee at it's end!"
haertig is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formats: After conversions how do I know which was the original format? ed1e Library Management 1 09-15-2016 08:49 AM
Kindle and Calibre Conversions BookCat Calibre 8 02-22-2014 01:15 AM
Calibre conversions Andy Comanda Introduce Yourself 4 11-17-2011 06:53 AM
Bug: entries with multiple formats trigger multiple conversions flinx1 Calibre 12 05-21-2010 06:23 AM
Conversions crash calibre slantybard Calibre 0 07-20-2009 12:50 AM


All times are GMT -4. The time now is 12:42 AM.


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