Mobi2Mobi Advanced
If you have any questions, please post in this thread on MobileRead.
Contents |
[edit] Notes
Use these commands at your own risk (on a back up copy please)!
You may want to take a look at the mobi2mobi manual before trying any of these commands.
If you use Mobi2Mobi commands on books you've already read that have bookmarks, or highlights or notes, that information will not transfer to the new book. That information *will* stay with the original copy, so if it's important or you're in the process of reading the book, keep the original copy. And as always, back-up your Kindle books before using any of these commands.
If you are using Windows, these commands are much easier to run through the Mobi2Mobi GUI but we are presenting the command line version for folks who use Macs and to give you all a better understanding of what is happening behind the scenes.
Even though you can change the name of non-DRM'd .mobi and .prc (not .azw) files in Windows Explorer or in the Finder (?) on the Mac, you can only change the books Metadata with Mobi2Mobi.
We are using .azw, .mobi and .prc interchangeably. These commands should work any of these file extensions.
We suggest you change the file name when making any metadata changes to books to prevent confusion.
[edit] Change or add the book's author's name
Change author from "John Smith" to "Smith, John" so that the sort by author command sorts these books by "W" instead of "D":
mobi2mobi originalFILEname.azw --outfile revisedFILEname.azw --author "lastname, firstname"
[edit] Changing a book's title
To change the book title of a book downloaded from Amazon: [*]
[*] Also for any other book containing an "Updated title" tag, which you can find by running
mobi2mobi "Filename.mobi"
and in the output:
EXTH item: 503 - UpdatedTitle ...
mobi2mobi originalFILEname.azw --outfile revisedFILEename.azw --exthtype updatedtitle --exthdata revisedBOOKname
Change the bookd title of a KindleFIXed book:
mobi2mobi originalFILEname.prc --outfile revisedFILEname.prc --title revisedBOOKname
Organize books in a series (these are from "Honor Harrington" series by David Weber from Baen.com):
mobi2mobi "Book Title.mobi" --outfile "01HH_Book Title.mobi" --title "[01HH]Book Title" mobi2mobi "Book Title.mobi" --outfile "02HH_Book Title.mobi" --title "[02HH]Book Title" mobi2mobi "Book Title.mobi" --outfile "12HH_Book Title.mobi" --title "[12HH]Book Title" mobi2mobi "Book Title.mobi" --outfile "13HH_Book Title.mobi" --title "[13HH]Book Title"
If the Honor Harrington series had been downloaded from Amazon the command would look like this:
mobi2mobi "Book Title.azw" --outfile "01HH_Book Title.azw" --exthtype updatedtitle --exthdata "[01HH]Book Title" mobi2mobi "Book Title.azw" --outfile "02HH_Book Title.azw" --exthtype updatedtitle --exthdata "[02HH]Book Title" mobi2mobi "Book Title.azw" --outfile "12HH_Book Title.azw" --exthtype updatedtitle --exthdata "[12HH]Book Title" mobi2mobi "Book Title.azw" --outfile "13HH_Book Title.azw" --exthtype updatedtitle --exthdata "[13HH]Book Title"
[edit] Organizing books on your Kindle
Organize books by genre: (when sorting by title, you will actually be sorting into your defined categories).
For books from Amazon:
mobi2mobi "Book Title.azw" --outfile "Hist_Book Title.azw" --exthtype updatedtitle --exthdata "Hist_Book Title" mobi2mobi "Book Title.azw" --outfile "Myst_Book Title.azw" --exthtype updatedtitle --exthdata "Myst_Book Title" mobi2mobi "Book Title.azw" --outfile "Ref_Book Title.azw" --exthtype updatedtitle --exthdata "Ref_Book Title" mobi2mobi "Book Title.azw" --outfile "Rom_Book Title.azw" --exthtype updatedtitle --exthdata "Rom_Book Title"
For non-Amazon books:
mobi2mobi "Book Title.azw" --outfile "Hist_Book Title.azw" --title "Hist_Book Title" mobi2mobi "Book Title.azw" --outfile "Myst_Book Title.azw" --title "Myst_Book Title" mobi2mobi "Book Title.azw" --outfile "Ref_Book Title.azw" --title "Ref_Book Title" mobi2mobi "Book Title.azw" --outfile "Rom_Book Title.azw" --title "Rom_Book Title"
Another way to organize by genre: 01 = SciFi, 02 = Mystery, 03 = Reference, 04 = Biographies (using a double or triple digit number will make sorting more precise - 01, 02, 03 instead of 1, 11, 12, 2, 21 etc)
For books from Amazon:
mobi2mobi "Book Title.azw" --outfile "01_Book Title.azw" --exthtype updatedtitle --exthdata "01_Book Title.azw" mobi2mobi "Book Title.azw" --outfile "02_Book Title.azw" --exthtype updatedtitle --exthdata "02_Book Title.azw" mobi2mobi "Book Title.azw" --outfile "03_Book Title.azw" --exthtype updatedtitle --exthdata "03_Book Title.azw" mobi2mobi "Book Title.azw" --outfile "04_Book Title.azw" --exthtype updatedtitle --exthdata "04_Book Title.azw"
Books from non-Amazon sites:
mobi2mobi "Book Title.prc" --outfile "01_Book Title.prc" --title "01_Book Title" mobi2mobi "Book Title.prc" --outfile "02_Book Title.prc" --title "02_Book Title" mobi2mobi "Book Title.prc" --outfile "03_Book Title.prc" --title "03_Book Title" mobi2mobi "Book Title.prc" --outfile "04_Book Title.prc" --title "04_Book Title"
--Daffy4u 10:38, 11 November 2008 (EST)