Created
November 10, 2017 11:59
-
-
Save Wohlstand/b5d196f99346972f1e18780129600f54 to your computer and use it in GitHub Desktop.
Mark all ELF files as executable
This file contains 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
#!/bin/bash | |
find . -exec file {} \; | grep -i ELF | cut -d':' -f1 | while read line; do chmod a+x $line; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment