1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash for C in * do if [[ -d $C ]] && [[ $C != "profiles" ]]; then for E in $C/* do if [[ -d $C ]]; then echo "* $E" fi done fi done