cmd/gio/set
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.
|
| -d | --delete | Unsets an attribute (same as setting it's type to unset). |
| -n | --nofollow-symlinks | Don’t follow symbolic links. |