View Single Post
Old 08-03-2010, 12:15 PM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
An integrity check (apart from checking for the existence of individual formats) also does an SQL integrity check, it basically dumps and reloads the sql from the metadata.db file, so it is generally a good idea to do it.

A move library simply copies all folders that calibre knows about, but does not check if the files are correctly linked. This is because calibre has a feature where if in metadata.db a format is specified, but for some reason the user changes the filename of the file in the calibre library, while leaving it in the correct folder, calibre will automatically pick up the changed file.

In other words, there isn't a strict one to one relationship between formats in the db and files on the disk.
kovidgoyal is offline   Reply With Quote