View Single Post
Old 01-23-2012, 10:36 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,106
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by OtherOkyay View Post
Calibre can add books recursively from a directory hierarchy, and this works
fine. However, during flattening out of the directories, directory information is lost.

Say I have a book in a directory dirA/dirB/dirC/book.pdf. I would like
dirA, dirB, dirC to be entered as tags while adding the book into the library.
Later on searching the tags for dirA would list all books under the directory
dirA. Searching for dirC would list only the books under the directory dirC.

Is there an easy way to do this? I didn't see any feature that would allow
me to do this. Would it be possible to do this with a plug-in? I am thinking
that after adding all the books, perhaps adding entries into the tags table
would accomplish this.

Thanks for any help
-Dave
No
Directory paths can not supply Metadata, only the title.
Calibre can get those books, just not any path data
theducks is offline   Reply With Quote