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

Author: , November 24th, 2019

xattr -r -d com.apple.quarantine {dirname} ~or~ xattr -r -d com.apple.quarantine *

How To Remove The Apple Quarantine Attribute From A File

Author: , May 24th, 2011

To see the com.apple.quarantine attribute, use ls or xattr, thus:

To remove the actual attribute, use xattr: