Pregenerovani souboru files.txt v kazdem adresari s listky: find . -type d -exec sh -c 'cd {}; ls *.jpg > files.txt' \;