I need to get a list of all things marked as executable on a filesystem. On linux, I would just do:
find . -executable -type f
But on OS X, find complains:
find: -executable: unknown primary or operator
Or you can just install the GNU findutils from Homebrew and use gfind instead of find.
There is no -executable for mac. If you want all of the .exe files, you could do:
find . -name "*.exe" -type f