02-02-2009, 10:15 PM | #1 |
Member
Posts: 15
Karma: 10
Join Date: Feb 2009
Device: PRS-505
|
Books with no Formats
Hi there,
Just got a PRS-505 and am enjoying fiddling with it at the moment. Calibre is a great utility. Thanks. My current setup is having my Calibre folder sync between multiple machines using rsync (1 linux laptop, 1 server, 1 XP machine). There are various reasons for this, but partly for backups. However, it seems to have exposed a problem that I am not sure how to get around. During one of my syncs, it appears that some files went missing. I think it might have something to do with ntfs, ext3 filename things. However, I am now left with an interesting problem. I have some books with no formats at all. Not really a problem as I have all the original books stored in a different folder. Problem is finding the ones with no format. I have tried something like this in the metasearch: > no (formatdf or format:lit or ... etc.) it returns nothing. > format:none also nothing. Any tricks to finding these entries with no books assigned? Thanks Tal |
02-02-2009, 10:45 PM | #2 |
Member
Posts: 20
Karma: 32
Join Date: Jan 2009
Device: Sony 700
|
Maybe on the advanced search, enter the files types that exist in your list into the "negative" list (the field that says "But don't show entries that have...". I haven't tried it, but it should work...
|
Advert | |
|
02-02-2009, 11:06 PM | #3 |
Member
Posts: 15
Karma: 10
Join Date: Feb 2009
Device: PRS-505
|
Hi,
Tried that and get results similar to my 'format' one. > not pdf and not txt and not epub and not lit and not ... etc. Problem with this is that it is not just checking the formats. It results in nothing being returned. This was the reason I was using the formatdf search string. Thanks for the feedback anyway. |
02-02-2009, 11:43 PM | #4 |
creator of calibre
Posts: 43,896
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
not format:lrf and not format:epub and not format:whatever
|
02-02-2009, 11:59 PM | #5 | |
Member
Posts: 15
Karma: 10
Join Date: Feb 2009
Device: PRS-505
|
Hi Kovid,
I have tried that also. Here is the full line I use: Quote:
If I cut down the expressions, I can find some of the books with 'none' format amongst the others. Thanks Last edited by Talung; 02-03-2009 at 12:00 AM. Reason: edit: Not sure how to get rid of those smilies.. They don't belong |
|
Advert | |
|
02-03-2009, 12:04 AM | #6 |
creator of calibre
Posts: 43,896
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, there isn't (it's a recursize parser) so for example the following works for me
Code:
not format:lrf and not format:epub and not format:txt and not format:pdf and not format:cbr and not format:cbz and not format:rb |
02-03-2009, 12:26 AM | #7 |
Member
Posts: 15
Karma: 10
Join Date: Feb 2009
Device: PRS-505
|
Thanks Kovid,
I will try again tonight on my windows box to see if that works. Been playing through VNC on the linux box and it doesn't seem to. Will update later with my programs. Thanks again. |
02-03-2009, 04:52 AM | #8 |
creator of calibre
Posts: 43,896
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There shouldn't be any difference based on platform
|
02-03-2009, 04:17 PM | #9 |
Member
Posts: 15
Karma: 10
Join Date: Feb 2009
Device: PRS-505
|
Hi Kovid,
You are correct. Both platforms return no results even though I know they exist. This is on version 0.4.133 I have about 1310 books in my library. Seems like a very strange problem. Could the list somehow be corrupt, ie. is there a way to rebuild it without losing all my Metadata (spent days getting ISBN's and book covers) |
02-03-2009, 04:41 PM | #10 |
creator of calibre
Posts: 43,896
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Backup up your library folder, then use the save to disk button to save all books to disk, then delete all books, then re-add them using the arrow next to the add books button
|
02-03-2009, 08:01 PM | #11 |
Member
Posts: 15
Karma: 10
Join Date: Feb 2009
Device: PRS-505
|
I have figured out the problem.
Thanks for your help Kovid and others. I have figured out what my problem is. Essentially I believe it because I am modifying books on the Linux system and then rsyncing to the Windows system where I in turn modify them some more and rsync back. Somewhere along the line certain folder names get changed in Case. eg. Piers Anthony/Chaining The Lady (742) Piers Anthony/Chaining the Lady (742) The case of 'the' got changed. The books reside in the the uppercase one but the metadata points to the lowercase one. This means in the web intereface it shows the formats as being present, but in the application as not being present. This also explains why the "not format:epub etc." command returns them as being there even though the application says they are not. Gonna be a bit tricky to find, but I think a troll through the folder list and look for duplicate numbers in '()' should reveal any folders that have been duplicated. Then its a manual application fix to change the book name to point to the correct folder. Thanks Tal BTW, in case anybody is interested. To find the folders that are not unique but contain the same calibre index number in brackets I am using this bash command line: $ find -iname "*(*)" | awk '{print $NF}' | sort | uniq -cd Last edited by Talung; 02-03-2009 at 08:31 PM. Reason: added command line |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
add books in 2 formats options | cybmole | Calibre | 6 | 09-21-2010 05:52 AM |
Same books, different formats, different prices. Why? | neilmarr | News | 7 | 10-18-2009 05:44 PM |
Duplicate books - multiple formats | mranlett | Calibre | 5 | 09-26-2009 07:02 AM |
Best formats for game books / puzzles? | Zarglu | Sony Reader Dev Corner | 3 | 01-06-2009 03:11 PM |
BOOKS in all formats | hesire | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 04-27-2003 12:10 PM |