Created
June 26, 2024 14:27
-
-
Save CodeByAidan/e674791f1ce8601fb81fc865b755dfca to your computer and use it in GitHub Desktop.
This script sets execute permissions for all .sh files in the current directory (not subdirectories)
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
| #!/bin/bash | |
| find . -maxdepth 1 -type f -name "*.sh" -exec chmod 755 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment