1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gfxattr</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="gfxattr">
<a name="gfxattr.1"></a><div class="titlepage"></div>
<div class="refnamediv">
<a name="name"></a><h2>Name</h2>
<p>gfxattr — Manipulate extended attributes in Gfarm file system</p>
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="synopsis"></a><h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">gfxattr</code> [ -s | -g | -l | -r ] [-x] [ -c | -m ] [-f <em class="replaceable"><code>xattrfile</code></em>] <em class="replaceable"><code>file</code></em> [<em class="replaceable"><code>xattrname</code></em>]</p></div>
</div>
<div class="refsect1" title="DESCRIPTION">
<a name="description"></a><h2>DESCRIPTION</h2>
<p>
gfxattr manipulates extended attributes and XML extended attributes of
a specified file. An extended attribute consists of an attribute name
and an attribute value, which are arbitrary strings. An XML extended
attribute is an extended attribute having an XML attribute value.
Since XML extended attributes have a different name space from
extended attributes, the same attribute name can be used.
</p>
<p>
When the -x option is specified, XML extended attributes are
manipulated. It is possible to search XML extended attributes by
XPath query using gffindxmlattr command.
</p>
<p>
All files and directories in Gfarm file system can keep extended
attributes. When removing a file or directory, the associated
extended attributes are also removed.
</p>
<p>
Either -s, -g, -l, or -r option should be specified.
</p>
</div>
<div class="refsect1" title="OPTIONS">
<a name="options"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term"><code class="option">-s</code></span></dt>
<dd><p>
sets a new value with an extended attribute xattrname for a specified
file. With the -f option, the value can be specified by the file
xattrfile instead of by the standard input. When neither -c nor -m
option is specified, the extended attribute is overwritten if it is
already set.
</p></dd>
<dt><span class="term"><code class="option">-g</code></span></dt>
<dd><p>reads a value with an extended attribute xattrname for a
specified file.</p></dd>
<dt><span class="term"><code class="option">-l</code></span></dt>
<dd><p>display a list of extended attributes for a specified
file.</p></dd>
<dt><span class="term"><code class="option">-r</code></span></dt>
<dd><p>removes a extended attribute xattrname for a specified
file.</p></dd>
<dt><span class="term"><code class="option">-x</code></span></dt>
<dd><p>manipulates XML extended attributes.</p></dd>
<dt><span class="term"><code class="option">-c</code></span></dt>
<dd><p>sets a new extended attribute if it is not set. This option is
used with the -s option.
</p></dd>
<dt><span class="term"><code class="option">-m</code></span></dt>
<dd><p>modifies the extended attribute if there it is. This option is
used with the -s option.
</p></dd>
<dt><span class="term"><code class="option">-f</code> xattrfile</span></dt>
<dd><p>
With the -s option, reads an extended attribute from the specified
xattrfile instead of from the standard input. With the -g option,
writes the extended attribute to the specified xattrfile instead of to
the standard output.
</p></dd>
<dt><span class="term"><code class="option">-?</code></span></dt>
<dd><p>displays usage.</p></dd>
</dl></div>
</div>
<div class="refsect1" title="SEE ALSO">
<a name="see-also"></a><h2>SEE ALSO</h2>
<p>
<span class="citerefentry"><span class="refentrytitle">gffindxmlattr</span>(1)</span>
</p>
</div>
</div></body>
</html>
|