fileformat ~master
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
fileformat is a tool for recognizing file formats.
Official repositories:
Ready-made packages
The page contains information about installing several packages, including fileformat
.
Build from source
Preparing
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
Uninstall:
# make uninstall
If you installed it in an alternate directory:
$ make uninstall DESTDIR=home/$USER/sandbox PREFIX=usr
Usage
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.
Feedback
Questions, suggestions, comments, bugs:
Also use the repository service tools.
- Registered by Eugene 'Vindex' Stulin
- ~master released 4 months ago
- os-18/fileformat
- BSL-1.0 or GPL-3.0+
- Authors:
- Dependencies:
- amalthea
- Versions:
-
0.4.2 2024-Jul-18 0.4.1 2024-Jun-18 0.4.0 2022-Sep-24 0.3.2 2021-Oct-06 0.3.1 2021-Oct-06 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
17 downloads total
-
- Score:
- 0.0
- Short URL:
- fileformat.dub.pm