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: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
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] 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.
Questions, suggestions, comments, bugs:
Also use the repository service tools.
- Registered by Eugene 'Vindex' Stulin
- 0.3.2 released 2 months ago