Percorrer todos subdiretórios

find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && COMANDO_A_EXECUTAR" \;
João Paulo Almost 9 years ago