Main Menu

File type error JPG

Started by phil968, March 21, 2013, 12:50:59 PM

Previous topic - Next topic

phil968

Hello Phil,

After recovery of deleted files JPG, I get an error message "file type error" during the repairs with "exiftool" (see attachment).
Do you have a solution?
Thank you.

Philippe

Phil Harvey

This is not a valid JPEG image.  I looked quickly at the file and didn't see any useful data.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

phil968

Thank you.

I must understand that the files are lost.

Philippe

Tarn

Philippe

Hi. This won't help you now, but in the future, once you realize, or decide that you are going to try and recover files... STOP all activity on that drive.

  In a nutshell, when you first delete a file, all the operating system does (in Windows), is change the first character of the file name to indicated that it is deleted. All of the file is intact at this point. You could change the first character back to what it was, and the file would show up, right where it was.

  However, when that file is deleted, the sectors that the data resides on, are opened up to be used. So, (in theory) the next file you write to that disk could use one, or more of those sectors. Eventually, all of the information of the deleted file will be overwritten.

In short, don't do anything that would write information to the drive that those files are on. This includes closing open windows; because most programs write something to the disk when they close.

  Kind of like moving into your time share for the week, and finding all the soda and beer cans from the previous occupant are still there, so you get rid of them. Later in the week, you find a McDonald's bag under the bed, from three occupants before you, and you get rid of it. Then the week is over and you move out... leaving your own soda cans, candy wrappers and such behind. Same way with delete files. Some may be overwritten in the next save, some may be intact after months of drive activity. It is a crap shoot at best.

  Also, if you do not have one already, get a quality recovery program. The free ones tend to just go in, reset the first character in the file name, and recover a file that is partially overwritten by other files. The quality programs analyze the file to see how much could be recovered, or if it is even worth trying.

  Like I say this won't help you now, but understanding this might help you in the future. "Luck favors the prepared". (Edna Mode)

phil968

Hello Tarn,

Thank you for all this information.


Philippe