Language Selection

English French German Italian Portuguese Spanish

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




More in Tux Machines

today's leftovers

Graphics News

More of today's howtos

GNOME News: Black Lab Drops GNOME and Further GNOME Experiments in Meson

  • Ubuntu-Based Black Lab Enterprise Linux 11.0.1 Drops GNOME 3 for MATE Desktop
    Coming about two weeks after the release of Black Lab Enterprise Linux 11, which is based on the Ubuntu 16.04.2 LTS (Xenial Xerus) operating system using the HWE (hardware enablement) kernel from Ubuntu 16.10 (Yakkety Yak), Black Lab Enterprise Linux 11.0.1 appears to be an unexpected maintenance update addressing a few important issues reported by users lately.
  • 3.26 Developments
    My approach to development can often differ from my peers. I prefer to spend the early phase of a cycle doing lots of prototypes of various features we plan to implement. That allows me to have the confidence necessary to know early in the cycle what I can finish and where to ask for help.
  • Further experiments in Meson
    Meson is definitely getting more traction in GNOME (and other projects), with many components adding support for it in parallel to autotools, or outright switching to it. There are still bugs, here and there, and we definitely need to improve build environments — like Continuous — to support Meson out of the box, but all in all I’m really happy about not having to deal with autotools any more, as well as being able to build the G* stack much more quickly when doing continuous integration.