Pregunta

If file *.txt gets all text files from the current directory, how can I use it in order to get the text files from a specific directory and all its sub-directories?

¿Fue útil?

Solución

maybe you are looking for

$ find . -name '*.txt' -exec file {} +
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top