bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bernhard Voelker
Subject: Re: [bug #64253] Suggestion - Add support for libmagic and xattr
Date: Wed, 31 May 2023 23:19:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]