Split folder (export)

There could be an option to export not only by layer but also by folder (I think there would have to be a selection of primary and secondary folders, etc.).
I would really like this option, when I work with topdown or isometric and I need to make the same character in several directions, I do it in a single line, depending on the workplace they require an export format that is animation per line. If I export the way I do it will be wrong, what I do is merge the layers by direction and export using split by layer by grid. It would be great to have it as a folder, then I don’t need to merge the layers.