1 2 3 4 5 6 7 8 9 10 11 12 13 14 | sudo testdisk write at end and reboot or remove if a stick sudo photorec sudo foremost –t jpeg,png,gif –o foremost –v –i /dev/sd? sudo foremost –t jpeg,png,gif –d –o foremost –v –i /dev/sda sudo gedit /etc/scalpel/scalpel.conf uncomment files you wanna find sudo scalpel /dev/sdb –o scalpel |