Is there an easy way to create all subdirectories of a path in linux ?
executed in / should create directories a,b,c,d,e,f
migrated from stackoverflow.com Dec 10 '10 at 0:03
This question came from our site for professional and enthusiast programmers.
The -p tells mkdir to create parent directories if they dont exist and doesn't give an error if the directory(ies) already exist(s). I wouldn't really consider this to be recursive.