macos/sterilise
- 434 bytes
- Bash
- View raw
1#!/usr/bin/env bash
2# This removes the com.apple.quarantine attribute from files.
3#
4# This attribute is applied when you download a binary from the web,
5# and prevents you running it. This script is a quick alias for
6# removing that attribute if you know a file is safe.
8set -o errexit
9set -o nounset
12then
15fi
18do
20done