- 317,600 hits
Anything about Ubuntu, Centos, openSuSe and Fedora
In most cases, the data stored in your memory cards or USB drives likely being corrupted and there are some files you accidentally deleted and removed in trash. Fear not, there is another chance to recover them back again.
I tried scalpel but didn’t work our right, then tried foremost, and it works like a charm. I’ve been always a victim of corrupted memory cards every time I extracted or deleted something using memory card readers or even using the delete utility of my digital camera.
Well, here’s the basic command to recover things in your memory cards or USB thumb drives.
1. First, install foremost
$> sudo apt-get install foremost
2. Then, determine the target device, mines is /dev/sdb1
$> sudo fdisk -l
3. Finally, issue the foremost command\
$> sudo foremost -t all -i /dev/sdb1 -o output_dir