View Single Post
Old 03-11-2015, 12:31 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,772
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@wladdy - bit of hack - but, perhaps you put the path in a custom column ex post facto.
  • You would use the calibredb set_metadata command in script of some sort.
  • You'd need to devise a way to 'match' the book id with the path, a csv catalog might assist in doing that.
  • And then use Bulk Metadata Edit->Search and Result to extract values out of the custom column into target columns - eg author, series, publisher etc -
  • You might be able to do all of the above in the calibredb set_metadata script - depends on the folder tree, and your scripting proficiency.
An alternative might be use an advanced file renamer to pre/ap-pend the folder path into the format file names and use a suitable template in Add Books to pull it apart into relevant metadata columns.

@eschwartz - seems that the oft discussed 'feature' to inject the original path into a custom column on adding a book would be useful here.

BR
BetterRed is offline   Reply With Quote