View Single Post
Old 11-25-2012, 11:04 AM   #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: 14,702
Karma: 5643657
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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 offline   Reply With Quote