Skip to content

Instantly share code, notes, and snippets.

@jbafford
Created August 4, 2014 21:03
Show Gist options
  • Save jbafford/d91ac15cf79a22e70f65 to your computer and use it in GitHub Desktop.
Save jbafford/d91ac15cf79a22e70f65 to your computer and use it in GitHub Desktop.
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