gran_profaci
gran_profaci

Reputation: 8461

Find all files in all subdirectories of the ".a" type. Like "stackOverFlowQuestion.a"

I wanted to access all these output files from Xcode, but I don't seem to be able to find some of them. Can someone help me out with a unix command for them?

I need to find all files with the extension .a

I tried find ."*.a" , find *"*.a", find "*.a" . etc. But they always printed the entire list of files. Can someone help me out here?

Upvotes: 0

Views: 89

Answers (2)

Ayyappa Boligala
Ayyappa Boligala

Reputation: 1096

Try this command

ls *.a

ll *.a

Upvotes: 0

Jakub Fedyczak
Jakub Fedyczak

Reputation: 2364

Try this command:

find . -name "*.a"

Upvotes: 2

Related Questions