View Single Post
Old 04-07-2014, 04:17 AM   #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,843
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by cybmole View Post
what is your process for doing that inside the library without confusing the database index, please

& for reversing it if needed - for those times when only an ORIGINAL_XXXX hits the spot
@cybmole - I don't do it often, so this isn't optimal, and it'll take longer to type than to do

So let's assume I do an EPUB to EPUB and I get an ORIGINAL_EPUB that I want to keep but I don't want it to interfere with future conversions
  1. mark the book with the ORIGINAL_EPUB, and do a show marked books - so its the only book showing in the list
  2. start peazip portable.
  3. open the book folder,
  4. drag'n'drop title - author.original_epub into peazip
  5. select 7z as the archive format, click OK
  6. now I have a title - author.7z in the book folder
  7. drag'n'drop the title - author.7z into the book list, this creates a book with just the 7Z format in it.
  8. now I have two marked books (I have the mark option set in Add Books preferences)
  9. merge the two books using the option that will move the 7Z to the book with the ORIGINAL_EPUB and delete the book that was created in step 7
  10. Now I have an EPUB, an ORIGINAL_EPUB and a 7Z in the book folder, and each is 'registered' in the database
  11. Now I remove the pesky ORIGINAL_EPUB (within calibre)

To get the ORIGINAL_EPUB back
  1. mark the book, and do a show marked books - so its the only book showing in the list
  2. open the book folder,
  3. open the title - author.7z in WinRAR
  4. drag'n'drop the title - author.original_epub out of WinRAR into the book folder
  5. drag'n'drop the title - author.original_epub into the book list
  6. now I have two marked books (I have the mark option set in Add Books preferences)
  7. merge the two books using the option that will move the ORIGINAL_EPUB to the book with the 7Z and delete the book that was created in step 5
  8. Now I have an EPUB, an ORIGINAL_EPUB and a 7Z in the book folder, and each is 'registered' in the database

Why peazip and not 7zip, a) because it has a portable version, b) it deals with those .001, 002... split archives nicely, c) when 7zip was first released it had some issues that annoyed me.

Why WinRAR to unarchive 7Zs, because that my default archive program, it can unarchive 7Zs but it can't create them.

I use 7Z's because calibre does things with ZIP's and RAR's so I prefer to leave them be, also I make use of calibres auto 'convert' of ZIPs full of images to CBZ.

If calibre allowed 'foreign' formats to be dropped into Book Details, that would cut out the need to mark and merge - its always seemed odd to me that I can drop such files into the Book List, but not into Book Details.

If you are 'happy' to put the ORIGINAL_XXXX in a ZIP or a RAR then you can simplify the above - because you can drop a ZIP or RAR into Book Details (it's OK to drag it out the corresponding book folder - I do it all the time with DOCX files) But you cant drop ORIGINAL_XXXX into Book Details so in that instance your stuck with my Mark 'em & Merge 'em process.

BR

Last edited by BetterRed; 04-07-2014 at 04:32 AM. Reason: add last para
BetterRed is offline   Reply With Quote