View Single Post
Old 02-10-2009, 05:43 PM   #1
Talung
Member
Talung began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Feb 2009
Device: PRS-505
Adding Books duplicates ID's

Hi There,

Is anybody else experiencing this problem? At first I thought it was the sync between linux and windows causing the issue, but it is now happening while using linux exclusively.

The issue is that it is duplicating the calibre ID's.

Eg.
/media/backup/eBooks/calibre/Margaret Weis/Love and War (1626)
/media/backup/eBooks/calibre/John Norman/Tarnsman of Gor (1626)

I deleted the Tarnman book, and then added a new book and this is what happening.

To find these duplicates I use this:
Code:
find /media/backup/eBooks/calibre/ -iname "*(*)" | awk '{print $NF}' | sort | uniq -d
Followed by this:
Code:
find /media/backup/eBooks/calibre/ -iname "*(1626)" -exec rm -R '{}' ';'
This seems to be happening quite a lot lately. When it does, all formats disappear from the book, and there is just the metadata remaining. Since re-adding the formats does not work, I then delete the book and readd it. It then conflicts with another book.

Anybody have any idea what is going on?
Talung is offline   Reply With Quote