commands.sh

getfattr

linux

Display file names and extended attributes.

More info →

Options (2)

-d, --dumpboolean

Retrieve all extended attributes of a file and display them in a detailed format

Example: getfattr {{[-d|--dump]}} {{path/to/file}}
-n, --nameboolean

Get a specific attribute of a file

Example: getfattr {{[-n|--name]}} user.{{attribute_name}} {{path/to/file}}

Examples (2)

Retrieve all extended attributes of a file and display them in a detailed format

getfattr [-d|--dump] path/to/file

Get a specific attribute of a file

getfattr [-n|--name] user.attribute_name path/to/file
made by @shridhargupta | data from tldr-pages