files/fix-macos-executables

4 lines
99 B
Bash
Executable File

#!/bin/sh
where="$1"
find "$where" -perm +111 -a -type f -exec xattr -d com.apple.quarantine {} \;