Setting and reading file xattrs  

If your filesystem supports xattrs you can set metadata to be saved with your files:

touch foo
setfattr -n user.fave_food -v hotdogs foo
getfattr -n user.fave_food foo

You must save everything in the user. namespace though.



Name: Email (Not Required):
 
Logged IP: 184.72.91.94
To prevent spam please submit by clicking the kitten: