|  05-31-2023, 04:39 AM | #1 | 
| Member  Posts: 23 Karma: 10 Join Date: Aug 2013 Device: Kindle | 
				
				Listing books with data files
			 
			
			Is there a way to filter books containing data files?
		 | 
|   |   | 
|  05-31-2023, 04:55 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			you canuse a template based search, but it will be slow since check if a book has data files requires filesystem access.
		 | 
|   |   | 
| Advert | |
|  | 
|  05-31-2023, 05:11 AM | #3 | 
| Member  Posts: 23 Karma: 10 Join Date: Aug 2013 Device: Kindle | |
|   |   | 
|  05-31-2023, 12:00 PM | #4 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			No, data is never going to be in the database. That was a deliberate design decision. It allows users to manipulate data outside of calibre. Linking it to the database would mean disallowing manipulation outside calibre, just as for formats.
		 | 
|   |   | 
|  05-31-2023, 01:44 PM | #5 | 
| Custom User Title            Posts: 11,347 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			If you're going to be doing frequent searches, consider adding an entry to one of the metadata columns. "Has extra files" in tags, for instance. Is faster.
		 | 
|   |   | 
| Advert | |
|  | 
|  05-31-2023, 02:19 PM | #6 | 
| Grand Sorcerer            Posts: 12,525 Karma: 8065948 Join Date: Jan 2010 Location: Notts, England Device: Kobo Libra 2 | 
			
			See this post for a template search that finds books with extra files. You can use this and bulk metadata edit to maintain a tag as @ownedbycats suggests. | 
|   |   | 
|  05-31-2023, 07:21 PM | #7 | 
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
			
			I keep a "file:///blah blah (nnnnnn)/data/" URL, labelled "Attachments", in a Links/#links custom long text column.  A search for #links:"attachments" finds the 1,334 books that have data folders in a 19,756 book library 'instantly'. Prior to the recent changes I already had 'Attachment' folder URLs in the #links custom column. They referenced folders that had the book number as their name - e.g. D:\Calibre\Libraries\Books\!Attachments\123. The !Attachments folder was excluded from Check library. So, converting to the new scheme was relatively easy for me. BR Last edited by BetterRed; 06-01-2023 at 12:55 AM. | 
|   |   | 
|  | 
| Tags | 
| data, filter | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Listing empty books | eyl | Library Management | 10 | 02-24-2013 04:33 PM | 
| Possible to print a listing of books? | TdeV | Library Management | 13 | 06-17-2011 10:12 AM | 
| Opus Updating EPUB file won't change publisher data on file listing | spaze | Bookeen | 1 | 03-08-2011 01:34 AM | 
| Listing books in Library | anselmo | Calibre | 2 | 01-14-2010 09:03 AM | 
| Methods listing the latest files | windspeedo | iRex | 13 | 06-10-2009 02:38 PM |