Skip to content

Instantly share code, notes, and snippets.

@iddar
Last active September 17, 2022 05:59
Show Gist options
  • Save iddar/1d934a66152d8022873d60e451347649 to your computer and use it in GitHub Desktop.
Save iddar/1d934a66152d8022873d60e451347649 to your computer and use it in GitHub Desktop.
[FIX] Remove all files in a folder no more can’t be opened because Apple cannot check it for malicious software.

Run follow command in a folder

find . -maxdepth 1 -perm -111 -type f | xargs -n 1 -I{} xattr -d com.apple.quarantine {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment