46

After recovering my HDD, I ended up with a lot of files with no extension. Many of them are .bin files.

Is there any way to find out what file format they actually are?

Many of them have no information if I edit them with Notepad++ or Hex Editors.

54

Ahh, the dark arts of file identification.

I rather like trid for this. It identifies files (and renames them, if you choose), has a nice large database, and is totally independent of the file itself, so you have two approaches at your disposal.

| improve this answer | |
  • 1
    learned something better while trying to help. wonderful and thank you! – johnshen64 Jun 11 '12 at 14:37
  • 1
    Its a really neat bit of software. I've just been waiting for a chance to use it properly ;p – Journeyman Geek Jun 11 '12 at 14:46
  • 2
    For amateur users like me ( cause took me some time to figure out ) , there is a window version ( I mean visual one ) TrIDNet which require TrIDLib also , again Thanks man all of my files are healthy , also after searching i figured out how to use batch mode and replace all extensions to right ones , Thank you – echolab Jun 11 '12 at 21:08
  • 2
    A bit late but, actually, TrIDNet (a .NET application) don't require TrIDLib (a Win32 DLL). – Mark0 Jan 9 '13 at 14:04
  • Awesome tool. I just used it to figure out that an email attachment I was sent to decipher was a .gz file, not a .tar file as its extension showed. Once I unzipped the .gz file I actually got a .tar file, so it was really originally a .tar.gz file. I then extracted the .tar file to find a SQL script with a .sql extension and a JSON file with no extension. Except that the SQL script wasn't actually a SQL script, but another .gz file containing the actual .sql file. Ha ha. – Adam Goodwin May 20 '16 at 7:16
11

There is also FileID which uses magicdb

http://www.optimasc.com/products/fileid/index.html

Explanation: FileID, TrID and File all work with magic numbers contained in the file which are supposed to be unique for each filetype, so all three programs are more or less equivalent. TrID is the most practical for windows users, while GNU/Linux ones simply use file.

| improve this answer | |
8

You can try the file command for Windows

http://gnuwin32.sourceforge.net/packages/file.htm

| improve this answer | |
  • it shows this , what that mean data , what kind of data C:\Program Files (x86)\GnuWin32\bin>file file01929.bin file01929.bin; data , is there any more advance tool ? – echolab Jun 11 '12 at 11:49
  • 1
    "Data" means it makes no sense to the file command. – David Schwartz Jun 11 '12 at 12:02
6

Another tool that may come useful is ExifTool. Contrary to what the name may suggest, it can identify and extract medatada from more than your usual photos / images filetypes.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.