Shell script to return list of all apps in Applications folder

If you look closely at the screenshot you'll see the path to most "default" Apple apps is now /System/Applications (Safari appears to be the exception). So if you want to include those you'll need to search there as well.

Or just search everywhere with mdfind "kind:application" | awk -F '/' '{print $NF}'

2 Likes