The XDG Shared MIME-info Database spec states that "the format of the glob pattern is as for fnmatch(3)".[0] So, here it is. [0]: http://standards.freedesktop.org/shared-mime-info-spec\ /shared-mime-info-spec-latest.html (retrieved 17 Nov 2014).