Difference between revisions of "TrID File Identifier"
Jump to navigation
Jump to search
(Import from spreadsheet via script.) |
|||
Line 12: | Line 12: | ||
= Description = | = 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, | + | 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. |
= User Experiences = | = 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. | ||
Revision as of 13:55, 3 April 2017
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.
User Experiences
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.
Development Activity
Error in widget Ohloh Project: unable to write file /var/www/html/extensions/Widgets/compiled_templates/wrt673f8f89e57fb0_46756772