Reputation: 22675
I was trying to make Unix "find" not to list the directories while searching for a particular file.
find <path> -name filename <Dont't list matching directories>
Upvotes: 1
Views: 971
Reputation: 599
Upvotes: 0
Reputation: 3358
You can use the -type
argument, so you probably want to include -type f
to match only files.
Upvotes: 3