Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: TrID file identifier (Read 2928 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

TrID file identifier

TrID is a freeware file identifier. You point it to a file and it try to guess the file's type.
The analysis is done irregardless of file's name & extension. Instead, TrID look at the file contents, and compare it to a set of knowed patterns.

Aside from identifing a lot of archives, bitmaps, executables and so on, what is of intrest of the Hydrogenaudio community is that it can recognize a number of compressed audio formats, songs/modules, or distinguish a foobar2k plugin from a WinAmp one, skins, etc.
This can be handy in case of misnamed file, truncated extension, file recovered with some data rescue tools, etc.

Actually the database count over 930 filetypes (near 100 audio related). Have a look at the list here: file type defs
New or improved definitions can easyly be created using the companion tool TrIDScan. If you have a file that is not correctly recognized, you can quickly "refine" the definition. Then, if you send me the new defs, I will include it in the public DB asap.
You are strongly encouraged, if you can, to generate new & better defs for the kind of files you are more familiar with!

The base TrID package containts the plain Win32 command line versions of both TrID & TrIDScan, along with the latest defs database.
There is also a .NET GUI available, TrIDNet.

Bye!

TrID file identifier

Reply #1
The new v2.00 of TrID file identifier is out!



Most interesting new features is the ability to scan entire folders and, eventually, adjusting the file extensions adding the guessed ones! This come handy for example when operating on a bunch of files recovered with some data rescue software and it's impossible to recover the original filenames & extensions.

Here's the quick help summary:

Code: [Select]
C:\TrID>trid -?

TrID/32 - File Identifier v2.00 - (C) 2003-06 By M.Pontello

Usage: TrID <[path]filespec(s)...> [-r:nn] [-v] [-p] [-w]
                                   [-d:file] [-?]

Where: <filespec> Files to identify/analyze
       -ae        Add guessed extension to filename
       -ns        Disable unique strings check
       -r:nn      Display the first nn matches (default: 5)
       -v         Verbose mode - display def name, author, etc.
       -d:file    Use the specified defs package
       -w         Wait for a key before exiting
       -?         This help!


Hope this may help someones,
Bye!

TrID file identifier

Reply #2
Still no *nix version. It would be a good replacement for file, I think.

 

TrID file identifier

Reply #3
Here it is, finally!



Link: TrID file identifier

Tested on a Slackware with kernel 2.6.16 and Ubuntu 5.10.
Feedback on other distros is greatly appreciated.

Bye!