Created
March 2, 2015 23:42
-
-
Save jeffgodwyll/f958e975a2df72434624 to your computer and use it in GitHub Desktop.
When I move my android sdk folder onto an NTFS disk, I tend to loose the executable bit. This is to remedy the situation a whole lot better.
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
# Run in project root | |
# Recursively add executable bit to all files without a dot filename | |
find -type f -not -name "*.*" -exec chmod +x \{\} \; | |
# Recursively add exec bit to all files with .so in filename | |
find -type f -name "*.so*" -exec chmod +x \{\} \; | |
# Recursively add exec bit to all files with .so in filename | |
find -type f -name "*.jar*" -exec chmod +x \{\} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment