#!/bin/bash # Log start echo "[$(date)] Starting quarantine removal..." >> ~/Library/Logs/remove_quarantine.log # Remove from /Applications — requires sudo, so skipped for LaunchAgent (see below) # sudo xattr -r -d com.apple.quarantine /Applications/* # Remove from ~/Applications — works without sudo xattr -r -d com.apple.quarantine ~/Applications/* # Log done echo "[$(date)] Done." >> ~/Library/Logs/remove_quarantine.log
Comments