Osx-xattr

From John Freier
Revision as of 14:47, 1 November 2021 by Jfreier (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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