diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2023-08-19 00:31:12 -0600 |
---|---|---|
committer | Alex Henrie <alexhenrie24@gmail.com> | 2023-08-26 18:37:23 -0600 |
commit | 3fb78a187c0bd1fa8bf7d4e574d10a665037adc8 (patch) | |
tree | b83400af2800ba121847dae4defbc63c9bacbeee | |
parent | c19a969e28c27db126967007dab0a808b7595dd6 (diff) |
Add DOS/Windows batch file type
Files of type application/x-bat are similar to files of type
application/x-ms-dos-executable in that they can be run with Wine or
DOSBox, but are different in that they are text, not binary.
application/x-bat is not an official IANA media type, but is used by
Apache Tika, which also accepts application/bat as an alias.
https://ciam-tika.straumann.com/mime-types/application/x-bat
-rw-r--r-- | data/freedesktop.org.xml.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 9f64929..0589011 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -3176,6 +3176,13 @@ command to generate the output files. </magic> <glob pattern="*.exe"/> </mime-type> + <mime-type type="application/x-bat"> + <comment>DOS/Windows batch file</comment> + <sub-class-of type="text/plain"/> + <alias type="application/bat"/> + <generic-icon name="text-x-script"/> + <glob pattern="*.bat"/> + </mime-type> <mime-type type="application/x-mswinurl"> <comment>Internet shortcut</comment> <sub-class-of type="text/plain"/> |