asd/general-scripts/utils/make-all-executable.sh
2025-08-15 08:54:26 +10:00

8 lines
151 B
Bash
Executable file

#!/bin/bash
FILE_EXTENSIONS=("sh" "py")
for EXT in "${FILE_EXTENSIONS[@]}"
do
find $SCRIPTS_DIR -type f -iname "*.${EXT}" -exec chmod +x {} \;
done