Answers for "bash how to create directories in all subdirectories"

0

bash how to create directories in all subdirectories

# Example usage:
for dir in */; do mkdir -- "$dir"/{dir1,dir2,dir3}; done
# This creates directories dir1, dir2, and dir3 in all directories 
# found in the current directory.
Posted by: Guest on October-03-2020

Code answers related to "bash how to create directories in all subdirectories"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language