Answers for "linux make directory tree"

2

make directory tree linux

mkdir -p htg/{articles,images,note,done}
Posted by: Guest on March-23-2021
1

linux make directory tree

$ mkdir -p grandparent/{parent1,parent2/{child1,child2},parent3}

# If you want just one child, you should't put curly braces
$ mkdir -p grandparent/{parent1,parent2/child1,parent3}

# first output:
# grandparent
#  \__parent1
#  \__parent2
#      \__child1
#      \__child2
#  \__parent3

# seccond output:
# grandparent
#  \__parent1
#  \__parent2
#      \__child
#  \__parent3
Posted by: Guest on September-09-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language