Created
June 28, 2017 17:49
-
-
Save geoffrepoli/b2572c5dcaca0e877a6db9e6b0b14cfb to your computer and use it in GitHub Desktop.
Revisions
-
geoffrepoli created this gist
Jun 28, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal 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")