rmextattr.8 (6c3fb1121af6a6d12ef0586f8e4c430c824bd821) | rmextattr.8 (fa46e218c7ddfa8bdf9b848d69a19b7303d0bb78) |
---|---|
1.\"- 2.\" Copyright (c) 2000, 2001 Robert N. M. Watson 3.\" Copyright (c) 2002 Networks Associates Technology, Inc. 4.\" All rights reserved. 5.\" 6.\" This software was developed for the FreeBSD Project by Poul-Henning 7.\" Kamp and Network Associates Laboratories, the Security Research Division 8.\" of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 --- 42 unchanged lines hidden (view full) --- 51.Ar attrnamespace 52.Ar filename ... 53.Nm rmextattr 54.Op Fl fhq 55.Ar attrnamespace 56.Ar attrname 57.Ar filename ... 58.Nm setextattr | 1.\"- 2.\" Copyright (c) 2000, 2001 Robert N. M. Watson 3.\" Copyright (c) 2002 Networks Associates Technology, Inc. 4.\" All rights reserved. 5.\" 6.\" This software was developed for the FreeBSD Project by Poul-Henning 7.\" Kamp and Network Associates Laboratories, the Security Research Division 8.\" of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 --- 42 unchanged lines hidden (view full) --- 51.Ar attrnamespace 52.Ar filename ... 53.Nm rmextattr 54.Op Fl fhq 55.Ar attrnamespace 56.Ar attrname 57.Ar filename ... 58.Nm setextattr |
59.Op Fl fhq | 59.Op Fl fhnq |
60.Ar attrnamespace 61.Ar attrname 62.Ar attrvalue 63.Ar filename ... 64.Sh DESCRIPTION 65These 66utilities 67are user tools to manipulated a named extended attributes on files and --- 7 unchanged lines hidden (view full) --- 75argument should be the name of the attribute, 76.Ar filename 77the name of the target file or directory, 78.Ar attrvalue 79a string to store in the attribute. 80.Pp 81The following options are available: 82.Bl -tag -width flag | 60.Ar attrnamespace 61.Ar attrname 62.Ar attrvalue 63.Ar filename ... 64.Sh DESCRIPTION 65These 66utilities 67are user tools to manipulated a named extended attributes on files and --- 7 unchanged lines hidden (view full) --- 75argument should be the name of the attribute, 76.Ar filename 77the name of the target file or directory, 78.Ar attrvalue 79a string to store in the attribute. 80.Pp 81The following options are available: 82.Bl -tag -width flag |
83.It Fl -f | 83.It Fl f |
84(Force) Ignore errors on individual filenames and continue with 85the remaining arguments. | 84(Force) Ignore errors on individual filenames and continue with 85the remaining arguments. |
86.It Fl -h | 86.It Fl h |
87(No follow) If the file is a symbolic link, perform the operation on the 88link itself rather than the file that the link points to. | 87(No follow) If the file is a symbolic link, perform the operation on the 88link itself rather than the file that the link points to. |
89.It Fl -q | 89.It Fl n 90(Nul-terminate) Nul-terminate the extent content written out. 91.It Fl q |
90(Quiet) Do not print out the pathname and suppress error messages. | 92(Quiet) Do not print out the pathname and suppress error messages. |
91.It Fl -s | 93.It Fl s |
92(Stringify) Escape nonprinting characters and put quotes around the output. | 94(Stringify) Escape nonprinting characters and put quotes around the output. |
93.It Fl -x | 95.It Fl x |
94(Hex) Print the output in hexadecimal. 95.El 96.Sh EXAMPLES 97.Dl # setextattr system md5 `md5 -q /boot/kernel/kernel` /boot/kernel/kernel 98.Dl # getextattr system md5 /boot/kernel/kernel 99.Dl # lsextattr system /boot/kernel/kernel 100.Dl # rmextattr system md5 /boot/kernel/kernel 101.Sh SEE ALSO --- 17 unchanged lines hidden --- | 96(Hex) Print the output in hexadecimal. 97.El 98.Sh EXAMPLES 99.Dl # setextattr system md5 `md5 -q /boot/kernel/kernel` /boot/kernel/kernel 100.Dl # getextattr system md5 /boot/kernel/kernel 101.Dl # lsextattr system /boot/kernel/kernel 102.Dl # rmextattr system md5 /boot/kernel/kernel 103.Sh SEE ALSO --- 17 unchanged lines hidden --- |