Showing posts with label trees. Show all posts
Showing posts with label trees. Show all posts

Tuesday, March 14, 2017

Bash: mkdir to create more complicated trees

From the man page of mkdir
-p, --parents
no error if existing, make parent directories as needed


You can also use this option to create more complicated trees. Like this one.







Do that with this:
mkdir -p /tmp/A/{1,2,B/{1,2}}