setfattr Command Examples

Set extended file attributes. More information: https://manned.org/setfattr.

setfattr -n user.{{attribute_name}} {{path/to/file}}

setfattr -n user.{{attribute_name}} -v "{{value}}" {{path/to/file}}

setfattr -x user.{{attribute_name}} {{path/to/file}}