Editing TrID File Identifier

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 10: Line 10:
 
}}
 
}}
 
= 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, it is extensible and can be trained to recognize new formats in a fast and automatic way.
+
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 =
 
= 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 =

Please note that all contributions to COPTR are considered to be released under the Attribution-ShareAlike 3.0 Unported (see COPTR:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)