Files
cheatsheet-tldr/tldr/linux/getfattr
2024-10-03 00:17:01 +00:00

18 lines
413 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# getfattr
> Display file names and extended attributes.
> More information: <https://manned.org/getfattr>.
- Retrieve all extended attributes of a file and display them in a detailed format:
`getfattr -d {{path/to/file}}`
- Get a specific attribute of a file:
`getfattr -n user.{{attribute_name}} {{path/to/file}}`