-1

Possible Duplicate:
How do I recover lost/inaccessible data from my storage device?

I accidentally deleted all files from one of my hard drives. I have recovered most of the files, but there is around 1 TB of data. I mainly want to recover my pictures, but they are mixed with thousands of other random/damaged files/photos.

Is there software which can scan all "good" photos and make a new folder containing them? Or a script that I can run to do this?

I am using Windows 7.

Journeyman Geek
  • 133,878
Napster
  • 222

1 Answers1

1

Found my old script that incorporated a function like what you're looking for. This is using Bash and Imagemagick (on Linux):

#!/bin/env bash
 for img in `find /loc/of/saved/items -type f -iname "*.jpg"`; do
    if identify "${img}" &> /dev/null; then
        mv ${img} /identified/files
    fi
done
nerdwaller
  • 18,014