fileformat 0.4.0

Tool for recognizing file formats

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

"fileformat" is free software.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.


fileformat is a tool for recognizing file formats.

Official repositories:

Ready-made packages

See download page.

Build from source


Before assembling, you need to install a compiler for D (now this project supports compiler ldc2).

This project is assembled with a dynamic or static linking to the Amalthea library. So if you want to build this project from source, you also need to build and install Amalthea. Then return to this instruction.

Compilation and installation

Creating of executable bin-file:

$ make

Installation (by default, main directory is /usr/local/):

# make install

After that, the application is ready for use.

You can install this application in any other directory:

$ make install DESTDIR=home/$USER/sandbox PREFIX=usr


# make uninstall

If you installed it in an alternate directory:

$ make uninstall DESTDIR=home/$USER/sandbox PREFIX=usr


fileformat <file> ... [-m|--mime] [--formats <directory>]
    Show format name, format description and format type
    (audio, video, archives, etc.) for specified file(s).
    If '-m' or '--mime' has been used, the program will show
    the MIME type and its description also.
    The '--formats' option specifies a directory that stores JSON files
    with descriptions of custom file formats.


Questions, suggestions, comments, bugs:

[email protected]

Also use the repository service tools.

  • Eugene 'Vindex' Stulin
0.4.0 2022-Sep-24
0.3.2 2021-Oct-06
0.3.1 2021-Oct-06
0.3.0 2021-Jul-29
~master 2022-Sep-24
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 0 downloads total

Short URL: