Skip to content

XattrEntry

Extended attribute entry returned by xattrs.

Fields

name

Attribute name.

Windows may report the name with different casing than as original set.

for attr = xattrs "data.txt"
  echo $attr.name

Linux and FreeBSD

namespace

Extended attribute namespace, such as user.

for attr = xattrs "data.txt" namespace: :ANY:
  echo "$(attr.namespace):$(attr.name)"

Windows

size

Attribute value size in bytes.

flags

Attribute flags.