in mac terminal, how to find a file in the current directory or subdirectories?

the filename is: 'something.py'

link|improve this question

48% accept rate
feedback

1 Answer

find . -name something.py

(the '.' specifies the current directory).

link|improve this answer
Find is a good choice for any unix platform. If you want something OS X specific, try mdfind, which is basically the CLI version of Spotlight. – churnd Jun 28 '10 at 3:16
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.