mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 09:53:04 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set name of attribute for file:
|
||||
|
||||
`setfattr -n user.{{attribute_name}} {{path/to/file}}`
|
||||
`setfattr {{[-n|--name]}} user.{{attribute_name}} {{path/to/file}}`
|
||||
|
||||
- Set a user-defined value of an extended attribute on a file:
|
||||
|
||||
`setfattr -n user.{{attribute_name}} -v "{{value}}" {{path/to/file}}`
|
||||
`setfattr {{[-n|--name]}} user.{{attribute_name}} {{[-v|--value]}} "{{value}}" {{path/to/file}}`
|
||||
|
||||
- Remove a specific attribute of a file:
|
||||
|
||||
`setfattr -x user.{{attribute_name}} {{path/to/file}}`
|
||||
`setfattr {{[-x|--remove]}} user.{{attribute_name}} {{path/to/file}}`
|
||||
|
||||
Reference in New Issue
Block a user