I can't think of an automated way to do this, but I can think of some things to help.
Firstly, as the others have said, calibre has no way to send the ORIGINAL_EPUB version of a book to a device. And the Kobo has no way of processing it without the extension being renamed.
What it sounds like you are doing is getting a new epub from somewhere and sending it to the Kobo. Then, when you read it, you realise there are problems. You fix those in calibre and resend the book. That replaces the original version with the new version. But, you want to have both on the device, just in case.
If that is right, what I can think of is some tricks with some Reading Lists and the send to template. So:
- Create a custom column called "fix_state". It needs to be a text column.
- Install the Reading List plugin and create two lists. Something like "Unfixed" and "Fixed". In the configuration for these, have them set the column "fix_state" to values like "Unfixed" and "Fixed" respectively.
- In the driver configuration, set the save template to something like:
Code:
{author_sort}/{title} - {authors}-{#fix_state}
and add "#fix_state" to the list of columns used for the shelves. If you already have columns there, you will need to separate them with commas.
- When you get a new epub, add it to the "Unfixed" reading list.
- Send new epub the to the device. The file name will end with "-Unfixed.epub" and it will be put on a shelf called "Unfixed".
- When you fix the epub, move it from the "Unfixed" reading list to the "Fixed" reading list.
- Send the fixed epub to the device. The file name will end with "-Fixed.epub" and it will be put on a shelf called "Fixed".
That is the nearest thing to what I think you want is. But, it won't work. When I got to the last line, I realised that while the two different versions of the book will both be on the device, the driver will put both of them on the same shelf. When you send the fixed version, both will be put onto the "Fixed" shelf and there will be no way to differentiate them.
The only thing I can think of to do is to either use a plugboard to put the contents of #fix_state into the title of the book as well as the save template. When it is sent, the new version will have the state in the title and the file name. Then you will be able to find it.
After writing all this, I hope I have misunderstood what you want to do. I can't think of a reason to keep the old version of the book on the device. If I find a problem in a book I am reading, I annotate the problem and fix it when I get back to the PC. Then I simply send them to the device in place of the version that is there and continue reading from where I was up to. And mark any other errors I find. I do keep the original version around, but it is on the PC where I can recover it if I need to.