'\" t .\" Title: gvfs-set-attribute .\" Author: Alexander Larsson .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 03/28/2017 .\" Manual: User Commands .\" Source: gvfs .\" Language: English .\" .TH "GVFS\-SET\-ATTRIBUTE" "1" "" "gvfs" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" gvfs-set-attribute \- Set file attributes .SH "SYNOPSIS" .HP \w'\fBgvfs\-set\-attribute\ \fR\fB[OPTION...]\fR\fB\ \fR\fB{LOCATION}\fR\fB\ \fR\fB{ATTRIBUTE}\fR\fB\ \fR\fB{VALUE...}\fR\ 'u \fBgvfs\-set\-attribute \fR\fB[OPTION...]\fR\fB \fR\fB{LOCATION}\fR\fB \fR\fB{ATTRIBUTE}\fR\fB \fR\fB{VALUE...}\fR .SH "DESCRIPTION" .PP \fBgvfs\-set\-attribute\fR allows to set a file attribute on a file\&. .PP File attributes can be specified with their gvfs name, e\&.g\&. standard::icon\&. Note that not all file attributes that are supported by gvfs are writable\&. \fBgvfs\-info \-\-query\-writable\fR lists writable file attributes\&. .SH "OPTIONS" .PP The following options are understood: .PP \fB\-h\fR, \fB\-\-help\fR .RS 4 Prints a short help text and exits\&. .RE .PP \fB\-\-version\fR .RS 4 Shows the version number and exits\&. .RE .PP \fB\-t\fR, \fB\-\-type=TYPE\fR .RS 4 Specifies the type of the attribute\&. Supported types are string, stringv, bytestring, boolean, uint32, int32, uint64, int64, object and unset\&. .RE .PP \fB\-n\fR, \fB\-\-nofollow\-symlinks\fR .RS 4 Don\*(Aqt follow symlinks\&. .RE .SH "EXIT STATUS" .PP On success 0 is returned, a non\-zero failure code otherwise\&. .SH "SEE ALSO" .PP \fBgvfs-info\fR(1), \m[blue]\fBGIO file attributes\fR\m[]\&\s-2\u[1]\d\s+2 .SH "NOTES" .IP " 1." 4 GIO file attributes .RS 4 \%http://developer.gnome.org/gio/2.32/gio-GFileAttribute.html .RE