Created
January 21, 2014 22:03
-
-
Save jl/8549354 to your computer and use it in GitHub Desktop.
print signature of executable files; for example pipe to fgrep "Mach-O" or "ELF"
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 characters
find $1 -type f -executable -not -name '*.js' -exec file {} \; | |
# non-gnu | |
# find $1 -type f -perm /111 -not -name '*.js' -exec file {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment