Re: [bug #64253] Suggestion - Add support for libmagic and xattr

Bernhard Voelker <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
On 5/27/23 01:39, raf wrote:
> I could be wrong, but I don't think a -mime predicate adds much value. Since
> mimetypes are determined by file name extension anyway, [...]

I don't think (proper) tools determine the mime type of a file by its extension.
Instead, they (should) always look at the content of the file.

Therefore, if we add -magic, then also adding -mime makes sense, because the
latter yields output which seems to be standardized.

Have a nice day,
Berny
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.