<- Back

xattr

Get & Set
Set a user attribute
setfattr -n user.tags -v "This is a test" ./testfile
List all attributes with its values
getfattr --dump ./testfile
Find
Find all files with a specific attribute value
getfattr --recursive --dump . | grep -B 2 "This is a test"