Last active
November 16, 2022 16:03
-
-
Save geoffrepoli/57302ed39be6b883423091635c5aeea2 to your computer and use it in GitHub Desktop.
lists all non-Apple applications names and versions, separated by "-" delimiter
This file contains 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
find /Applications -name *.app -maxdepth 2 -exec \ | |
bash -c '[[ ! $(defaults read "{}"/Contents/Info.plist CFBundleIdentifier) =~ "com.apple" ]] \ | |
&& echo "$(basename "{}" | sed 's/.app.*//')-$(defaults read "{}"/Contents/Info.plist CFBundleShortVersionString)"' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment