bfabiszewski / libmobi

C library for handling Kindle (MOBI) formats of ebook documents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mobitool -d <file> -o <output directory> ignores -o argument

philgoetz opened this issue · comments

$ mobitool.exe -d data/googled.mobi -o .
Title: Googled
Author: Ken Auletta
. . . <output snipped> . . .

Dumping rawml...
Saving rawml to data/googled.rawml

The syntax of your command is wrong. Path to mobi file must be last argument:
usage: mobitool [-deimrsuvx7] [-o dir] [-p pid] [-P serial] filename

In your case mobitool.exe -d -o . data/googled.mobi should work.

Oops! That works. Thanks!