7

Whenever an ePub file is opened with Calibre's ebook viewer, a bookmark file is created inside that ePub. This file does not store user bookmarks, it is automatically used by the program to remember the last used location inside the book.
More precisely this bookmark file is called calibre_bookmarks.txt and is located in the META-INF folder, inside the said ePub book main directory.

I'd like to know if there is an easy way of getting rid of these bookmark files from inside Calibre, ideally from multiple ePubs at once (doing it manually for every single ebook wouldn't be very handy), effectively cleaning them and restoring their "newness".

Jason Down
  • 3,066
  • 1
  • 20
  • 43
Sekhemty
  • 6,194
  • 5
  • 34
  • 69

2 Answers2

4

There's a plugin called Modify ePub which could remove Calibre bookmarks. But I haven't tried it myself.

Ben
  • 156
  • 2
  • 1
    Thank you, it was exactly what I needed. Interestingly enough, I already had this plugin installed, but I had not noticed the option to delete Calibre bookmarks! :) – Sekhemty Dec 30 '14 at 23:00
1

There is another way to do this on Linux.

First, open a terminal and cd into the folder with your ePubs.

Next, type the following command: find . -name "*.epub" -exec zip -d '{}' 'META-INF/calibre_bookmarks.txt' \;

Then, all of the calibre_bookmarks.txt files inside all the ePubs in the current dir (recursively) will be deleted.

geek1011
  • 151
  • 1
  • 6
  • Since editing a ZIP file changes the file's checksum, the entire mess can be avoided by setting all epub files read-only find . -name "*.epub" -exec chmod 444 '{}' \;. – wolfmanx Jan 21 '22 at 15:04