Remove extended attributes of OSX files
Snippet
Yeah, kitt finished writing this at 19:43 on 5 June 2015
Remove extended attributes of mac OSX files
# Use the xattr command. You can inspect the extended attributes: $ xattr s.7z com.apple.metadata:kMDItemWhereFroms com.apple.quarantine # and use the -d option to delete one extended attribute: $ xattr -d com.apple.quarantine s.7z $ xattr s.7z com.apple.metadata:kMDItemWhereFroms # you can also use the -c option to remove all extended attributes: $ xattr -c s.7z $ xattr s.7z # xattr -h will show you the command line options, and xattr has a man page.
Comments
El Capitan?
Do you believe this still works in El Capitan?
Yes?
The man page is similar:
Add new comment