01-19-2024, 06:20 AM | #1 |
Bookish
Posts: 907
Karma: 1803094
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Nxtpaper 11
|
[Q] How to find books with a data folder present
I want to use the "add data files" function. Afterwards I want to see which books now have data files.
I found 1 option: using the Book Details showing "Book files" and "Data files". But I do not seem to be able to query for a list of books which have a data sub-folder present. I tried queries like path:true, path:"Data files", etc. but that does not work. Any pointers? |
01-19-2024, 06:44 AM | #2 |
Wizard
Posts: 1,091
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
Template language has a function called has_extra_files(). You can leverage this doing the following template search (copy paste into calibre search bar):
Code:
template:"""program: if has_extra_files() then 'yes' else 'no' fi#@#:t:yes""" |
Advert | |
|
01-19-2024, 07:18 AM | #3 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
01-19-2024, 07:53 AM | #4 | ||
Bookish
Posts: 907
Karma: 1803094
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Nxtpaper 11
|
Quote:
Quote:
PS: It would be nice to be able to add actions to the icon, so a click on the icon could open the data folder. A well, perhaps in a future version ... PSPS: And it works on "Cover Grid --> Emblems" too ... Last edited by DrChiper; 01-19-2024 at 08:40 AM. |
||
01-19-2024, 03:41 PM | #5 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
And there are corresponding Keyboard shortcuts. BR |
|
Advert | |
|
01-19-2024, 04:40 PM | #6 |
Bookish
Posts: 907
Karma: 1803094
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Nxtpaper 11
|
And you are so right
I'm still trying to find my way on using data files using the new functionality. I used to add extra files via drag/drop in the Edit Metadata view, which worked great (for me): simple, straight forward. But I'm a simple person with simple needs and YMMV of course |
01-19-2024, 05:41 PM | #7 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
If you want to add an ebook format file to a book, remembering there can only be one of each kind (EPUB, PDF, AZW etc), rather then opening MDE doing the drag drop and closing the MDE, I find it easier to drag drop the additional format file onto the Book details panel.
To add files to the Data folder, I open the folder (calibre will fire up Windows File manager) and then I Drag-n-Drop or Cut/Copy Paste files into it… more often than not from the Desktop. As I see it, the management of the content of the Data folders is my responsibility. BR |
01-20-2024, 05:32 AM | #8 | |||
Bookish
Posts: 907
Karma: 1803094
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Nxtpaper 11
|
Quote:
Quote:
I did encountered a new finding though: 7zip compressed files are now immediately uncompressed, which is not what I want. I guess that this is due to the last change in which 7zip files are now recognized by calibre. Good to know this behavior. Quote:
PS: I have to correct my remark about the uncompressing of 7zip files. I did use a 7-zipped PDF file, which calibre did unzipped into the PDF again. But 7-zipped text files remained zipped, which they should. Something to know. PSPS: dropping a PNG-file on the BDP converted into cover.jpg, which is interesting. Ah well, learning all the time... Last edited by DrChiper; 01-20-2024 at 05:39 AM. |
|||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linking Data Folder Doesnt Work | cgrapski | Library Management | 13 | 11-24-2023 12:45 PM |
Move a file from the 'book' folder to 'data' folder | BetterRed | Library Management | 4 | 08-02-2023 07:01 PM |
On manually creating /data/ folder vs using "Add data files to selected book records" | droopy | Library Management | 1 | 07-31-2023 09:29 PM |
Link to open book's data files folder | BetterRed | Library Management | 7 | 04-28-2023 06:16 PM |
Data lost after library folder sync | wtw1936 | Library Management | 4 | 08-21-2011 10:49 PM |