asd/general-scripts/utils/make-all-executable.sh

9 lines
151 B
Bash
Raw Normal View History

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