I’m only a hobbyist programmer, but did take a look at the templatr docs, don’t know much of anything about javascript, but I didn’t see anything that allowed directories to be created.
@holroy That’s pretty cool! If you could, it would be very helpful to see an example Templater script that did this for even a simplified version of the above use case. Thanks!
In this thread, Dynamic folder creation from a template - #2 by holroy, every new file was moved into a not one, but two deep new folder structure, based on the hour and minute of the current hour. Maybe not the most practical example, but it shows one way of creating folders using the move command.
In your case you might want to create new files in the given directories (, or slightly less elegant you could move one file around creating directories as the file bounces around… )