Tool for recognizing file formats
To use this package, run the following command in your project's root directory:
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.
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:
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:
Also use the repository service tools.
- Registered by Eugene 'Vindex' Stulin
- 0.4.0 released a year ago
- BSL-1.0 or GPL-3.0+