pastas de listas linux
ls -d */
obter a lista de pastas bash
for d in */ ; do
echo "$d"
done
listar todos os ficheiros numa pasta e sub-pasta linux
find . -type f -follow -print
lista em python
from os import listdir
## Prints the current directory as a list (including file types)
print(os.listdir())