I want to change my folder emblems recursively. I know that the command gvfs-set-attribute -t string ~/Desktop/ metadata::emblems []
can change the emblem of only Desktop.
How can I change whole folders and the files emblems? I tried gvfs-set-attribute -t stringv ~/* metadata::emblems []
but it returns error Error setting attribute: Setting attribute /home/taygun/Desktop not supported
.
You could feed the command into find:
find ~/ -type d -exec gvfs-set-attribute -t stringv {} metadata::emblems [] \;
There are some known issues with the defaultdir ~
on some distros with gvfs-set-attribute
(https://bugzilla.redhat.com/show_bug.cgi?id=1368676)
Consider upgrading to the latest version if you're not already on it.