Creating Subfolders


I need to provide instructions in a project on which folders and subfolders need to exist before the code will run locally. The required folder is three levels deep, and I want a quick way to create the full directory tree.

Search terms

mkdir subfolders

Helpful link


I learned that the mkdir command in a bash terminal includes option “-p” to create all necessary parent folders for a full path in one command.

By Paul Shippy

Christian software engineer and homeschooling dad

Leave a Reply

Your email address will not be published. Required fields are marked *