cmd/gio/set

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< cmd‎ | gio
Jump to navigation Jump to search
  • Command: gio set <LOCATION> <ATTRIBUTE> <VALUE>...
  • Action: Sets a file attribute on a file.

About

File attributes can be specified with their GIO name, e.g standard::icon. Note that not all GIO file attributes are writable. Use the --query-writable option of the info command to list writable file attributes.

If the <TYPE> is unset, <VALUE> does not have to be specified. If the <TYPE> is stringv, multiple values can be given.

Options

short long description
-t --type=<TYPE> Specifies the type of the attribute. Supported types are string, stringv, bytestring, boolean, uint32, int32, uint64, int64 and unset.
  • If the type is not specified, string is assumed.
-d --delete Unsets an attribute (same as setting it's type to unset).
-n --nofollow-symlinks Don’t follow symbolic links.