in reply to Making directories from path
I recently Super Searched on this topic and found "mkdir -p" equivalent?. That should help :)