How do I search all hidden files that are in hidden folders using Terminal?
mdfind seems to ignore a lot of hidden files. mdfind 'kMDItemFSInvisible==1&amp;&amp;kMDItemFSName==filename' does list .DS_Store files, but not for example .bash_history. I haven't found any way to search for files in some hidden directories like /private/etc/.
Anyway, Find Any File is a lot faster than find.


Find Any File is a program for Mac OS X that lets you search for files on your disks.

Contrary to Spotlight, it does not use a database but instead uses the file system driver's fast search operations, where available. This lets you search for file properties such as name, dates, size, etc., but not for file content (use Spotlight or EasyFind for that).
Find Any File can find files that Spotlight doesn't, e.g. those inside bundles and packages and in inside folders that are usually excluded from Spotlight search.
Finally, it is quite fast. A search only takes a few seconds on an internal hard disk or SSD. Try for yourself!