We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The file tool also identifies a number of formats and would be useful to have in this combined registry.
The text was updated successfully, but these errors were encountered:
Yes, very happy to review any pull requests to improve this. You can see the fine free file magic here: https://github.com/file/file/tree/master/magic/Magdir
It doesn't have file extensions, but it does have some MIME types, e.g. https://github.com/file/file/blob/master/magic/Magdir/pdf
Sorry, something went wrong.
Hmm, does have some extension info, e.g.
https://github.com/file/file/blob/d3516f29966c52ebd0619839110edd6646540e0b/magic/Magdir/jpeg#L17-L21
But it looks a bit gnarly to parse. I guess look for the !:mime and then backtrack to a non-!: line and backtrack via the > to put the name together?
!:mime
!:
>
No branches or pull requests
The file tool also identifies a number of formats and would be useful to have in this combined registry.
The text was updated successfully, but these errors were encountered: