Skip to content

Instantly share code, notes, and snippets.

@rmanly
Created September 24, 2015 14:58
Show Gist options
  • Select an option

  • Save rmanly/98480701a86ff5252bb1 to your computer and use it in GitHub Desktop.

Select an option

Save rmanly/98480701a86ff5252bb1 to your computer and use it in GitHub Desktop.
remove quarantine attribute from things in /Applications
#!/bin/bash
while read -r -d $'\0' item; do
/usr/bin/xattr -s -d com.apple.quarantine "${item}"
done < <(/usr/bin/find /Applications -xattrname com.apple.quarantine -print0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment