xattr
- Manages
extended attributes
associated with a file or directory - The presence of extended attributes are typically noted by the
@
symbol
drwx------@ 2 john staff 64B Nov 3 16:44 file.txt
-l
# list extended attributes
xattr -l file.txt
-d
# Remove attribute
xattr -d "com.apple.quarantine" file.txt
xattr -d "com.apple.provenance" file.txt
-c
# Remove att attributes
xattr -c file.txt