Osx-xattr

From John Freier
Jump to: navigation, search

XAttr is a feature in OSX to add meta data to a file.

You can tell if a file has these attributes by using 'ls'. You will see the '@' sign.

 > ls
 -rw-------@   1 jdoe  1694191859       0 Nov  1 14:42 tmp.oEgiuo01


To see these attributes

 xattr -l tmp.oEgiu01

To remove these attributes

 xattr -d {attr_name} tmp.oEgiuo01

To see the help documentation

 xattr -help