setfattr - set extended attributes of filesystem objects
setfattr [-h] -n name [-v value] pathname... setfattr [-h] -x name pathname... setfattr [-h] --restore=file
The setfattr command associates a new value with an extended attribute name for each specified file.
-n name, --name=name Specifies the name of the extended attribute to set. -v value, --value=value Specifies the new value of the extended attribute. There are three methods available for encoding the value. If the given string is enclosed in double quotes, the inner string is treated as text. In that case, backslashes and double quotes have special meanings and need to be escaped by a preceding backslash. Any control characters can be encoded as a backslash followed by three digits as its ASCII code in octal. If the given string begins with 0x or 0X, it expresses a hexadecimal number. If the given string begins with 0s or 0S, base64 encoding is expected. See also the --encoding option of getfattr(1). -x name, --remove=name Remove the named extended attribute entirely. -h, --no-dereference Do not follow symlinks. If pathname is a symbolic link, it is not followed, but is instead itself the inode being modified. --restore=file Restores extended attributes from file. The file must be in the format generated by the getfattr command with the --dump option. If a dash (-) is given as the file name, setfattr reads from standard input. --version Print the version of setfattr and exit. --help Print help explaining the command line options. -- End of command line options. All remaining parameters are interpreted as file names, even if they start with a dash character.
Andreas Gruenbacher, <firstname.lastname@example.org> and the SGI XFS development team, <email@example.com>. Please send your bug reports or comments to these addresses.
More Linux Commands
glRectf(3gl) - draw a rectangle (Library - Linux man page)
glRect supports efficient specification of rectangles as two corner points. Each rectangle command takes four arguments, organized either as two consecutive pai
freshclam(1) - update virus databases - Linux manual page...
freshclam is a virus database update tool for ClamAV. OPTIONS Freshclam reads its configuration from freshclam.conf. The settings can be overwritten with comman
ferror(3) - check and reset stream status - Linux man page
The function clearerr() clears the end-of-file and error indicators for the stream pointed to by stream. The function feof() tests the end-of-file indicator for
sepermit.conf(5) - configuration file for the pam_sepermit m
The lines of the configuration file have the following syntax: <user>[:<option>:<option>...] The user can be specified in the following manner: * a username * a
fputws(3) - write a wide-character string to a FILE stream
The fputws() function is the wide-character equivalent of the fputs(3) function. It writes the wide-character string starting at ws, up to but not including the
gnutls_global_set_log_function(3) - API function (Man Page)
This is the function where you set the logging function gnutls is going to use. This function only accepts a character array. Normally you may not use this func
XDGASetViewport(3) - Client library for the XFree86-DGA exte
The XFree86-DGA extension is an X server extension for allowing client programs direct access to the video frame buffer. This is a brief description of the prog
sntp(1) - standard SNTP program (Commands - Linux man page)
This manual page briefly documents the sntp command. sntp can be used as a SNTP client to query a NTP or SNTP server and either display the time or set the loca
lreplace(n) - Replace elements in a list with new elements
lreplace returns a new list formed by replacing one or more elements of list with the element arguments. first and last are index values specifying the first an
getlist(1) - Get a list from an NNTP server - Linux man page
getlist obtains a list from an NNTP server and sends it to standard output. list may be one of active (which is the default value), active.times, distrib.pats,
ts(1ssl) Time Stamping Authority tool (client server).......
The ts command is a basic Time Stamping Authority ( TSA ) client and server application as specified in RFC 3161 (Time-Stamp Protocol, TSP ). A TSA can be part
krb.equiv(5) - Kerberos equivalences - Linux manual page....
krb.equiv contains zero or more lines, each of which describes a mapping of a kerberos principal (userid@host) to a local user (userid or alias). Each line of t