View Single Post
Old 02-16-2010, 04:34 AM   #8
NoBiscuit
Junior Member
NoBiscuit began at the beginning.
 
NoBiscuit's Avatar
 
Posts: 5
Karma: 10
Join Date: Feb 2010
Device: Sony PRS-505
Quote:
Originally Posted by Starson17 View Post
I'm not aware of any way inside calibre. I do it by opening up the metadata.db file in sqlitespy and using an sql query.

This will also do it:

Code:
calibre-debug -c "from calibre.library.database2 import LibraryDatabase2; db = LibraryDatabase2('/path/to/library/folder');dupes = db.conn.get('select title from books group by title having count(*) > 1;');print dupes;">dupes.txt
Copy that long line, change the path to point to your library folder and paste it into a command window (terminal window, dos box, whatever you call it) and it will produce a file in the current directory called dupes.txt with all your duplicate titles in it. It's a list of dupe titles in unicode format.
Your a Hero, Many Thanks
NoBiscuit is offline   Reply With Quote