Created
October 16, 2013 11:31
-
-
Save 1951FDG/ffe2f7c005f7193fb8ff to your computer and use it in GitHub Desktop.
Use mdfind to find applications that meet certain criteria
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mdfind -onlyin /Applications -onlyin /Developer/Applications "kMDItemContentType == 'com.apple.application-bundle' && kMDItemCFBundleIdentifier == 'com.apple.*'" | while read filename; do basename "$filename"; done | |
mdfind "kMDItemAppStoreHasReceipt=1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment