How To Remove the MacOS Quarantine Extended File Attribute for an Entire Directory Tree

xattr -r -d com.apple.quarantine {dirname} ~or~ xattr -r -d com.apple.quarantine *
![]() |
xattr -r -d com.apple.quarantine {dirname} ~or~ xattr -r -d com.apple.quarantine *
To see the com.apple.quarantine attribute, use ls or xattr, thus:
1 2 3 |
ls -l@ file.zip -OR- xattr -l file.zip |
To remove the actual attribute, use xattr:
1 |
xattr -d com.apple.quarantine file.zip |