File: xattr.1

package info (click to toggle)
python-xattr 0.9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 208 kB
  • sloc: python: 693; ansic: 489; sh: 32; makefile: 15
file content (50 lines) | stat: -rw-r--r-- 1,403 bytes parent folder | download
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
.TH XATTR 1 "May  8, 2010"
.SH NAME
xattr \- sets or lists extended attributes on a file or directory
.SH SYNOPSIS
\fBxattr\fR [ \fI-lz\fR ] \fBfilename\fR [ \fBfilename\fR ... ]
.br
\fBxattr\fR \fI-p\fR [ \fI-lz\fR ] \fIattr_name\fR \fBfilename\fR [ \fBfilename\fR ... ]
.br
\fBxattr\fR \fI-w\fR [ \fI-z\fR ] \fIattr_name\fR \fIattr_value\fR \fBfilename\fR [ \fBfilename\fR ... ]
.br
\fBxattr\fR \fI-d\fR \fIattr_name\fR \fBfilename\fR [ \fBfilename\fR ... ]
.br
.SH DESCRIPTION
This manual page documents briefly the \fBxattr\fR command.
.PP
The first form lists the names of all xattrs on the given file(s).
.br
The second form (\-p) prints the value of the xattr attr_name.
.br
The third form (\-w) sets the value of the xattr attr_name to attr_value.
.br
The fourth form (\-d) deletes the xattr attr_name.
.br
.SH OPTIONS
A summary of options is included below.
.TP
.B \-h
Show summary of options.
.TP
.B \-l
Print long format (attr_name: attr_value) when listing xattrs.
.TP
.B \-z
Compress or decompress (if compressed) attribute value in zip format.
.SH EXAMPLES
.TP
.B "xattr -w user.mykey myvalue myfile"
.TP
.B "xattr -p user.mykey myfile"
.TP
.B "xattr -d user.mykey myfile"
.br
.SH SEE ALSO
The Python module "xattr"
.br
.SH AUTHOR
xattr was written by Bob Ippolito <bob@redivi.com>.
.PP
This manual page was written by Federico Ceratto,
for the Debian project (and may be used by others).