Percorrer todos subdiretórios

Posted Almost 9 years ago. Visible to the public.
find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && COMANDO_A_EXECUTAR" \;
João Paulo
Posted by João Paulo to ZeroGlosa (2015-07-16 13:01)