This is an old revision of the document!
gio info -a 'metadata::*' $HOME
$ touch /tmp/myfile
$ gio info -a 'metadata::*' /tmp/myfile
attributes:
$ gio set attribute -t string /tmp/myfile 'metadata::mynote' 'Please remember to delete this file!'
$ gio info -a 'metadata::*' /tmp/myfile
attributes:
metadata::mynote: Please remember to delete this file!
$ gio move /tmp/myfile /tmp/newfile
$ gio info -a 'metadata::*' /tmp/newfile
attributes:
metadata::mynote: Please remember to delete this file!
(Info from here)