Tuesday, April 07, 2009

TestDisk saves my ass !!!

Today I accidentally did a "rm -rf *" under a folder, SHOOT!!! This is a FAT32 partition. Then I quickly unmount it and google for solution.

Then TestDisk comes to me and saves my ass! http://www.cgsecurity.org/wiki/TestDisk I emerged testdisk from gentoo portage and uses 'photorec' to undelete files. The recovered files are named randomly with a correct suffix. That's very enough for me. Great tools!

Thank this blog entry:
http://blog.lxpages.com/2007/06/21/linux-file-recovery/

BTW: for NTFS partition, ntfsundelete is useful, it's included in ntfsprogs package.