bash make multiple directories in current directory code example
Example 1: bash make multiple directories in current directory
# Basic syntax:
mkdir directory1 directory2 directory3 # Make directory1, 2, and 3 in the
# current directory
Example 2: 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.