gvfs-set-attribute
Set file attributes
see also :
gvfs-info
Synopsis
gvfs-set-attribute
[OPTION...] {LOCATION} {ATTRIBUTE} {VALUE...}
add an example, a script, a trick and tips
examples
no example yet ...
... Feel free to add your own example above to help other Linux-lovers !
description
gvfs-set-attribute
allows to set a file attribute on a file.
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. gvfs-info
--query-writable lists writable file
attributes.
options
The following
options are understood:
-h,
--help
Prints a short help text and
exits.
-t,
--type=TYPE
Specifies the type of the
attribute. Supported types are string, stringv, bytestring,
boolean, uint32, int32, uint64, int64, object and unset.
-n,
--no-follow-symlinks
Don't follow symlinks.
exit status
On success 0 is returned, a non-zero failure code otherwise.
notes
1.
GIO file attributes
http://developer.gnome.org/gio/2.32/gio-GFileAttribute.html
gvfs set attribute
[OPTION...] {LOCATION} {ATTRIBUTE} {VALUE...}
see also
gvfs-info ,
GIO file attributes
[1]