mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-10 08:01:41 +01:00
35 lines
1.3 KiB
Text
35 lines
1.3 KiB
Text
|
COMMENT(!MOD!zsh/attr
|
||
|
Builtins for manipulating extended attributes (xattr).
|
||
|
!MOD!)
|
||
|
The tt(zsh/attr) module is used for manipulating extended attributes.
|
||
|
The builtins in this module are:
|
||
|
|
||
|
startitem()
|
||
|
findex(zgetattr)
|
||
|
cindex(extended attributes, xattr, getting from files)
|
||
|
item(tt(zgetattr) var(filename) var(attribute) [ var(parameter) ])(
|
||
|
Get the extended attribute var(attribute) from the specified
|
||
|
var(filename). If the optional argument var(parameter) is given, the
|
||
|
attribute is set on that parameter instead of being printed to stdout.
|
||
|
)
|
||
|
findex(zsetattr)
|
||
|
cindex(extended attributes, xattr, setting on files)
|
||
|
item(tt(zsetattr) var(filename) var(attribute) var(value))(
|
||
|
Set the extended attribute var(attribute) on the specified
|
||
|
var(filename) to var(value).
|
||
|
)
|
||
|
findex(zdelattr)
|
||
|
cindex(extended attributes, xattr, removing, deleting)
|
||
|
item(tt(zdelattr) var(filename) var(attribute))(
|
||
|
Remove the extended attribute var(attribute) from the specified
|
||
|
var(filename).
|
||
|
)
|
||
|
findex(zlistattr)
|
||
|
cindex(extended attributes, xattr, listing)
|
||
|
item(tt(zlistattr) var(filename) [ var(parameter) ])(
|
||
|
List the extended attributes currently set on the specified
|
||
|
var(filename). If the optional argument var(parameter) is given, the
|
||
|
list of attributes is set on that parameter instead of being printed to stdout.
|
||
|
)
|
||
|
enditem()
|