PhotoRec is a data recovery software designed to recover lost photos from digital camera memory, (CompactFlash, Memory Stick, SecureDigital, SmartMedia, Microdrive, MMC, USB Memory Drives etc.), Hard Disks and CD-ROMs. In addition to photos, PhotoRec can recover many other types of files, including video files, documents, and archives.

PhotoRec ignores the filesystem and goes after the underlying data, so it will still work even if your media’s filesystem has been severely damaged or re-formatted.
PhotoRec runs under
• DOS/Win9x
• Windows NT 4/2000/XP/2003/Vista
• Linux
• FreeBSD, NetBSD, OpenBSD
• Sun Solaris
• Mac OS X
PhotoRec comes with another tool called TestDisk. You can download PhotoRec at http://www.cgsecurity.org/wiki/TestDisk_Download

