Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save geoffrepoli/b2572c5dcaca0e877a6db9e6b0b14cfb to your computer and use it in GitHub Desktop.
Save geoffrepoli/b2572c5dcaca0e877a6db9e6b0b14cfb to your computer and use it in GitHub Desktop.
Reports all installed applications that are 32-bit *only*
while IFS= read -r path; do
file "$path"/Contents/MacOS/* | awk -F: '!/for/&&/i386/&&!/x86_64/{gsub("^.*/","");print $1}'
done < <(find /Applications -name "*.app")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment