Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
133
rated 0 times [  133] [ 0]  / answers: 1 / hits: 864692  / 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
theurn questions
Tue, Apr 5, 22, 14:18, 2 Years ago
Mon, Feb 14, 22, 16:29, 2 Years ago
Sat, Apr 8, 23, 05:26, 1 Year ago
Tue, Jan 10, 23, 23:59, 1 Year ago
Fri, Apr 8, 22, 01:36, 2 Years ago
;