Linux Commands Examples

A great documentation place for Linux commands


Set file attributes

see also : gvfs-info


gvfs-set-attribute [OPTION...] {LOCATION} {ATTRIBUTE} {VALUE...}

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


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.


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.



GIO file attributes

gvfs set attribute

see also

gvfs-info , GIO file attributes [1]

How can this site be more helpful to YOU ?

give  feedback