mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-26 05:04:24 +00:00
feat: tagging in linux
This commit is contained in:
39
knowledge base/linux/getfattr.md
Normal file
39
knowledge base/linux/getfattr.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# `getfattr`
|
||||
|
||||
## Table of contents <!-- omit in toc -->
|
||||
|
||||
1. [TL;DR](#tldr)
|
||||
1. [Further readings](#further-readings)
|
||||
1. [Sources](#sources)
|
||||
|
||||
## TL;DR
|
||||
|
||||
```sh
|
||||
# Get values for specific extended attributes.
|
||||
getfattr -n 'name' 'path/to/file.1' … 'path/to/file.N'
|
||||
```
|
||||
|
||||
## Further readings
|
||||
|
||||
- [`setfattr`][setfattr]
|
||||
|
||||
## Sources
|
||||
|
||||
All the references in the [further readings] section, plus the following:
|
||||
|
||||
- [`man` page][man page]
|
||||
- [Tag files in GNU/Linux]
|
||||
|
||||
<!--
|
||||
References
|
||||
-->
|
||||
|
||||
<!-- In-article sections -->
|
||||
[further readings]: #further-readings
|
||||
|
||||
<!-- Knowledge base -->
|
||||
[setfattr]: setfattr.md
|
||||
[tag files in gnu/linux]: tag%20files.md
|
||||
|
||||
<!-- Others -->
|
||||
[man page]: https://linux.die.net/man/1/getfattr
|
||||
Reference in New Issue
Block a user