Write a shell script like:
Code:
#!/bin/bash
LIST=`ls -D`
for i in $LIST ;
do
mkdir $i"/yourdir"
done
Change "yourdir" to the directory you want to be created in the subdirs
If you have also files in your directory you will get some errors that it is no directory.