View Single Post
Old 11-25-2012, 12:04 PM   #6
theducks
Grand Sorcerer
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: 15,663
Karma: 6611233
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Quote:
Originally Posted by GarfieldKlon View Post
I don't want to write into the calibre folder structure, I just want to export my books somewhere else with my own defined logic.

I think this could be the solution:
sublist(val, start_index, end_index, separator)

edit:
Ok here's something ugly, but it works:
{#genre:subitems(0,1)}/{#genre:subitems(1,2)}/{#genre:subitems(2,3)}/{#genre:subitems(3,4)}/{#genre:subitems(4,5)}/{title}/{title}

I don't know how to dynamically create the folder structure.
I see a 7 folder Deep (from the base folder) structure there.
ALL Folders (paths) will be created as needed
theducks is online now   Reply With Quote