View Single Post
Old 01-08-2015, 02:45 PM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by grumbles View Post
It may be official but it is not complete. A complete solution would maintain the order in the database as well. I'm not concerned about keeping the settings and I found that Calibre did import my custom data (i.e. if I've read the book or not.) It will do as long as I have to have a copy of my library on Windows.
You can blame Microsoft for that...

What I would do is use a filename shortener and make sure the id # in parentheses is preserved (in the per-book directory). After shortening the filenames to the point where Windows will accept them, your library will be horribly broken (that is rather the point) but it should copy over perfectly.

Then use the Restore database feature from Library Maintenance to rebuild the database.

Adding the books to calibre via save-to-disk and reimport is just as though it was the same library, except the actual id references change. Honestly, I could care less about that since the add date and all is preserved.

Restore database will use the ids from the filename paths, by assuming there is a valid library with a broken database.

Restore will preserve all custom columns and other per-library setings et cetera using the metadata_db_prefs_backup.json file.

Quote:
My primary library remains on Linux (or maybe BSD in the future.) The copy on Windows is so my wife can move books on and off her reader by herself. I loathe the Windows user interface (but not as much as I loathe Ubuntu's unity!) I really wish programmers would stop trying to pretend that they are designers. They are so very very bad at it!
I too hated Unity. My solution was to stop using it.

I switched from Ubuntu to ArchLinux and haven't looked back. My current desktop is Cinnamon, the face of Linux Mint (a Ubuntu derivative) which is a distro I would recommend as the current best it-just-works distro for linux newbies and for veterans who don't want to fight their system.

I would say that Cinnamon is worlds better even than GNOME2 which I was a big fan of.
eschwartz is offline   Reply With Quote