- Open the application such that you see the icon on your screen.
- Open Activity Monitor
- Double click the name of the application (i.e. Finder or System Preferences)
- Select "Open Files and Ports"
- Copy the output to a file and then
grep
for.icns
Similarly you could run this command, but it may take several minutes to complete: