Difference between revisions of "Osx-xattr"

From John Freier
Jump to: navigation, search
(Created page with "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 16...")
 
 
Line 4: Line 4:
 
   > ls
 
   > ls
 
   -rw-------@  1 jdoe  1694191859      0 Nov  1 14:42 tmp.oEgiuo01
 
   -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

Latest revision as of 14:47, 1 November 2021

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