Instantly share code, notes, and snippets.

Embed
What would you like to do?
List OSX codesign versions for installed apps
find /Applications ~/Applications -maxdepth 3 -name "*.app" | while read a ; do echo; echo -n "$a ___ "; codesign -vd "${a}" 2>&1 | awk '/version/ {print $3}'; done | awk -F'___' '{print $2 " " $1}' | sort -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment