How To Remove The Apple Quarantine Attribute From A File

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 |