GFXATTR(1)
π GFXATTR(1) β the Gfarm extended-attribute page, bestie edition π
okay so this is gfxattr, a lil tool from the Gfarm manual (section 1, the user commands, we love her) and she is literally your bestie for playing with extended attributes in the Gfarm file system. let's get into it π«Ά
β¨ NAME β¨
gfxattr β manipulate extended attributes in Gfarm file system π
πΈ SYNOPSIS πΈ
gfxattr [-s | -g | -l | -r] [-x] [-c | -m] [-f xattrfile] file
[xattrname]
π¦ DESCRIPTION π¦
so gfxattr manipulates extended attributes and XML extended attributes of a specified file. no cap, that's the whole job and she ate.
an extended attribute is made of two things: an attribute name and an attribute value, and both of them are just arbitrary strings. do with that what you will π«
an XML extended attribute is an extended attribute whose value is an XML attribute value. and here's the cute part: XML extended attributes live in a different name space from regular extended attributes, which means the same attribute name can be used in both. two completely separate little worlds, same name, no drama π
when you pass the -x option, you're manipulating XML extended attributes. and iykyk β you can search those XML extended attributes with an XPath query using the gffindxmlattr command. iconic.
π every single file and directory in the Gfarm file system can keep extended attributes. but heads up bestie: when you remove a file or directory, the associated extended attributes get removed right along with it. gone, deleted, no takebacks π
and one thing you cannot skip: either -s, -g, -l, or -r should be specified. pick one, she's not gonna guess for you π
π OPTIONS π
-sβ sets a new value with an extended attribute xattrname for a specified file. with the-foption, the value can be specified by the file xattrfile instead of by the standard input. and if neither-cnor-mis specified, the extended attribute is overwritten if it's already set. so like, it'll just bulldoze right over the old value, periodt π-gβ reads a value with an extended attribute xattrname for a specified file. get that value, girl π-lβ display a list of extended attributes for a specified file. the full rundown, the whole menu β¨-rβ removes an extended attribute xattrname for a specified file. bye bye π¦-xβ manipulates XML extended attributes. the purple ones, remember? π-cβ sets a new extended attribute if it is not set. this option is used with the-soption. no overwriting, only fresh starts π±-mβ modifies the extended attribute if there it is. this option is used with the-soption. (yes, that's the original wording, she's a lil quirky, we stan π«Ά)-fxattrfile β with the-soption, reads an extended attribute from the specified xattrfile instead of from the standard input. with the-goption, writes the extended attribute to the specified xattrfile instead of to the standard output. so it flips direction depending on which mode you're in, main character energy fr fr π-?β displays usage. when you're lost, she's there π
π SEE ALSO π
that's the whole page bestie, go forth and attribute responsibly πβ¨
this was the Gfarm manual, gfxattr(1), dated 18 Aug 2008 β yeah she's vintage, she's a classic, she's still slaying. mwah π
π¦ where this page comes from
- debian bookworm: gfarm-client 2.7.20+dfsg-1+b2 Β· BSD-like
- debian trixie: gfarm-client 2.7.20+dfsg-1.2+b1 Β· BSD-like
- ubuntu jammy: gfarm-client 2.7.17+dfsg-1build2 Β· BSD-like
- ubuntu noble: gfarm-client 2.7.20+dfsg-1.1ubuntu1 Β· BSD-like
- ubuntu questing: gfarm-client 2.7.20+dfsg-1.2
- ubuntu resolute: gfarm-client 2.7.20+dfsg-1.3 Β· BSD-like
- ubuntu stonking: gfarm-client 2.7.20+dfsg-1.3build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms