Saturday, May 18, 2024
rated 0 times [  2] [ 0]  / answers: 1 / hits: 4292  / 2 Years ago, fri, january 28, 2022, 4:03:30

How do I recover delete files with just with just the .jpg extension in Ubuntu?

I already tried "photorec", but it recovered all the files.

More From » data-recovery


Use Photorec. It is the absolute best tool for this job.

When asked what partition to search, select the [File Opt] link at the bottom of the screen.

In there, tell it to only recover jpg files.

Let it run, and problem solved!

Alternatively, if you have already recovered, do this.

First off, you need to be in the recup_dir folder. Once you are in a terminal in this folder, run these commands:

mkdir ../Recovery/
sudo mv *.jpg ../Recovery
cd ..
sudo rm -rf recup_dir
sudo chown -R $USER:$USER Recovery/

Done! Note, the recup_dir folder will be deleted.

[#23236] Friday, January 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 390
Total Questions: 106
Total Answers: 115

Location: Tokelau
Member since Sun, May 7, 2023
1 Year ago