Difference between revisions of "TrID File Identifier"
Jump to navigation
Jump to search
(Trial import from script.) |
Prwheatley (talk | contribs) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Infobox tool |
− | |purpose= TrID is a utility designed to identify file types from their binary signatures. | + | |purpose=TrID is a utility designed to identify file types from their binary signatures. |
− | + | |homepage=http://mark0.net/soft-trid-e.html | |
− | |homepage= http://mark0.net/soft-trid-e.html | + | |license=Free for personal / non commercial use |
− | |license= | + | |platforms=Windows, Linux |
− | |platforms= | + | |function=File Format Identification |
}} | }} | ||
+ | {{Infobox tool details | ||
+ | |ohloh_id=TrID File Identifier | ||
+ | }} | ||
+ | = Description = | ||
+ | TrID is a utility designed to identify file types from their binary signatures. While there are similar utilities with hard coded rules, TriID has no such rules. Instead, it is extensible and can be trained to recognize new formats in a fast and automatic way. | ||
+ | |||
+ | It was first released in 2003. Currently, its library contains of 8408 entries. | ||
+ | |||
+ | = User Experiences = | ||
+ | It's a command line tool, which can be scripted pretty easily, e. g.: | ||
+ | |||
+ | <code> | ||
+ | echo off <br /> | ||
+ | echo Please paste folder with files to identify: <br /> | ||
+ | echo ************************** <br /> | ||
+ | set /p inputfolder= folder : <br /> | ||
+ | for /r "%inputfolder%\" %%X in (*.*) do ( <br /> | ||
+ | echo new File >> gfindings.txt <br /> | ||
+ | echo TRId Findings >> govDocs.txt <br /> | ||
+ | trid "%%X" >> govDocs.txt <br /> | ||
+ | ) <br /> | ||
+ | Pause <br /> | ||
+ | </code> | ||
− | + | TrID works best for binary files, plain text files are just identified as "test/ASCII". | |
− | |||
+ | Findings are output in %, a file format, so typical TrID findings can be: | ||
− | + | * 50.0% (.BMP) Windows Bitmap (v3) (2004/2) | |
− | + | * 100.0% (.FM) FrameMaker document (11000/1) | |
+ | * 53.8% (.WRI) Windows Write Document (7000/1) | ||
− | + | It is also possible that several file formats are output, e. g. 50% JPEG, 50% something else. | |
= Development Activity = | = Development Activity = |
Latest revision as of 12:44, 21 April 2021
Error in widget Ohloh Project: unable to write file /var/www/html/extensions/Widgets/compiled_templates/wrt673eb53e36efc3_96885261
Description[edit]
TrID is a utility designed to identify file types from their binary signatures. While there are similar utilities with hard coded rules, TriID has no such rules. Instead, it is extensible and can be trained to recognize new formats in a fast and automatic way.
It was first released in 2003. Currently, its library contains of 8408 entries.
User Experiences[edit]
It's a command line tool, which can be scripted pretty easily, e. g.:
echo off
echo Please paste folder with files to identify:
echo **************************
set /p inputfolder= folder :
for /r "%inputfolder%\" %%X in (*.*) do (
echo new File >> gfindings.txt
echo TRId Findings >> govDocs.txt
trid "%%X" >> govDocs.txt
)
Pause
TrID works best for binary files, plain text files are just identified as "test/ASCII".
Findings are output in %, a file format, so typical TrID findings can be:
- 50.0% (.BMP) Windows Bitmap (v3) (2004/2)
- 100.0% (.FM) FrameMaker document (11000/1)
- 53.8% (.WRI) Windows Write Document (7000/1)
It is also possible that several file formats are output, e. g. 50% JPEG, 50% something else.