Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save geoffrepoli/b2572c5dcaca0e877a6db9e6b0b14cfb to your computer and use it in GitHub Desktop.

Select an option

Save geoffrepoli/b2572c5dcaca0e877a6db9e6b0b14cfb to your computer and use it in GitHub Desktop.

Revisions

  1. geoffrepoli created this gist Jun 28, 2017.
    3 changes: 3 additions & 0 deletions List all installed 32-bit macOS Applications
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    while IFS= read -r path; do
    file "$path"/Contents/MacOS/* | awk -F: '!/for/&&/i386/&&!/x86_64/{gsub("^.*/","");print $1}'
    done < <(find /Applications -name "*.app")