The first version of my Calibre export tool got released today!

Why?

I own multiple eBook reading devices, but only my Kobo Aura One is compatible to be managed directly with Calibre. Usually, I transfer some books manually to these other devices. But it becomes cumbersome at some point. So I decided to build a small helper to streamline the export process.

It connects to your Calibre library via the calibredb CLI and uses some xmllint and jq magic to do its job.

Beware!

This is not a finished project! It’s more in a “proof-of-concept” state and lacks some integrity checks, update handling, etc. It’s slow, and I’ve only tested it for my setup. But for a first version, it does what it’s supposed to do and might be a starting point for you.

How?

Get it from GitHub.

Create a custom metadata column and add the desired export folders. The tool will export all formats into all the specified folders.

./basho.sh <library location> <metadata>

What’s next?

There’s a lot to be desired:

  • Check if an export already exists: the exported filenames already contain the id, so this shouldn’t be too hard.
  • File format restriction: right now, all formats are exported.
  • More logging/output.
  • Any error handling.

Who’s Bashō?

MATSUO Bashō was the most famous poet of the Edo period in Japan.

License?

MIT.