How to mkdir only if a directory does not already exist?

You can use mkdir -p option to create a new directory if does not already exist.

Leave a Reply