How To Recover Deleted Files in Linux Using PhotoRec

Filed under
Software
HowTos

PhotoRec is a data recovery software designed to recover a variety of files from different types of media like hard disk, flash drives, CD-ROMs etc. It is designed to recover a number of file types including audio files, video files, pictures, archives etc. PhotoRec works great even of you have accidentally formated the storage drive. Photorec is more suited for recovery of a large number of files, say from a formatted drive, rather than just one or two files.

Before you try to recover deleted files using PhotoRec (or with most of the data recovery software, for that matter) keep in mind that if the file was deleted a long time ago, the probability of its recovery is low.

The first thing you need to do is install PhotoRec. It is available for most of the major Linux distributions. In Ubuntu, use the command below to install it.

rest here