Friday, September 5, 2008

How to recover media files from a memory card?

Can you recover deleted media files from a memory card?
here is what needs to be done:
  • Install ‘testdisk’ package for your distribution
    The first step which I did was to install a software package named “testdisk”, depending on the distribution you use you should easily be able to find the package.
  • Make an image of the memory card
    The next step is to make an image of your memory card, this is achieved using the ‘dd’ command which comes by default with most distributions, the command you will have to issue is:

    $ dd if=/dev/sda1 of=memory_card.img bs=1024

    In the above command, ‘if’ is the input drive which should be your memory card, ‘of’ is the file name for the image which we are creating, and ‘bs’ is the byte size.

  • Recover files by scanning the image using photorec
    The final step is to use a command provided by testdisk package. The ‘photorec’ command will recover all the JPG and GIF files which were recently deleted from your memory card. The command is very simple:

    $ photorec memory_card.img

    The software will take you through a menu driven interface where you will have to select a few options to get your work done. It is simple and anyone should be able to use it with eas

No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.