aboutsummaryrefslogtreecommitdiff
path: root/macos.local/flake/home/scripts/remove-quarantine.org
diff options
context:
space:
mode:
Diffstat (limited to 'macos.local/flake/home/scripts/remove-quarantine.org')
-rw-r--r--macos.local/flake/home/scripts/remove-quarantine.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/macos.local/flake/home/scripts/remove-quarantine.org b/macos.local/flake/home/scripts/remove-quarantine.org
new file mode 100644
index 0000000..373c503
--- /dev/null
+++ b/macos.local/flake/home/scripts/remove-quarantine.org
@@ -0,0 +1,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