Im trying to create recursively level of directories like /folder1/folder2/folder3
/folder1/folder2/folder3
Im trying this mkdir folder1/folder2/folder3, but doesnt work. how can I do it?
mkdir folder1/folder2/folder3
thanks
You should pass the -p parameter to mkdir so it will create all the subfolders. So following your example:
-p
mkdir
mkdir -p folder1/folder2/folder3
2.1m questions
2.1m answers
60 comments
57.0k users