문제

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?

도움이 되었습니까?

해결책

maybe you are looking for

$ find . -name '*.txt' -exec file {} +
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top