xattr.set

Sets new value of the required extended attribute.

class xattr
static
void
set
(
string path
,
string key
,
string value
)

Parameters

path string

Path to explored file. If it's a symlink, the target will be used.

key string

Attribute name. If the attribute doesn't exist, it will be created.

value string

New value of the attribute.

Meta