Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
133
rated 0 times [  133] [ 0]  / answers: 1 / hits: 864697  / 3 Years ago, sat, june 19, 2021, 8:16:57

I am trying to look for all XML files in a particular directory and all sub-directories (recursively) inside it.



ls -R *.xml is only listing files in the current directory. I am quite sure, the sub-folders themselves have several .xml files, but none are showing up.



Is this a configuration issue?


More From » directory

 Answers
0

Try using Find



sudo find . -print | grep -i '.*[.]xml'

[#30748] Sunday, June 20, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
theurn

Total Points: 30
Total Questions: 110
Total Answers: 111

Location: Bahrain
Member since Fri, Sep 16, 2022
2 Years ago
;