How to create middle folders on an already existing path?
I have a path like this:
/foo/bar/... (can contain other subdirs or files)
I want to add a "middle" folder in the mid of said path, leading to:
What's an elegant way to do that?