aboutsummaryrefslogtreecommitdiff
path: root/macos.local/flake/home/scripts/remove-quarantine.org
blob: 373c5033c32d6d70980c5042912b0ce6fb35295b (plain)
1
2
3
4
5
6
7
#+title: Remove Quarantine

macOS likes putting applications in quarantine without me wanting. This script removes an application from the quarantine. Remove the app from quarantine by recursively deleting the quarantine attribute on the application.
#+begin_src sh
  #!/bin/sh
  /usr/bin/xattr -dr com.apple.quarantine "$@"
#+end_src