Today's post is a quick overview of making directories recursively (if they do not exist). Let's create the hello-recursive-dirs directory and install Pillow. The OS library has a function makedirs… - Dennis
Check if a directory exists in Linux or Unix shell - nixCraft