Explore this Article
methods
Other Sections
X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time.
This article has been viewed 36,164 times.
Learn more...
Recovering deleted or lost files from your pen drive or hard disk files such as video, documents, and lost pictures from digital camera memory is a snap if you follow these steps.
Steps
Method 1
Method 1 of 8:
Install the testdisk tool.
Method 2
Method 2 of 8:
Insert your pen drive.
Method 3
Method 3 of 8:
Run the photorec utility with sudo.
Method 4
Method 4 of 8:
Choose your pen drive and press Enter.
Method 5
Method 5 of 8:
Choose a filesystem and select "Search."
Method 6
Method 6 of 8:
Choose the file system you were using.
Method 7
Method 7 of 8:
Select a location to scan.
Method 8
Method 8 of 8:
Choose a destination folder and press "C."
Community Q&A
-
QuestionHow much time does it take to recover?Community AnswerIt is not a matter of time, you just need to install the right software. Just be careful not to use your pen drive until you've recovered the files. Otherwise, you might overwrite the old data.
Advertisement
You Might Also Like

How to
Install Google Chrome Using Terminal on Linux


How to
Add or Change the Default Gateway in Linux



How to
Take a Screenshot in Linux


How to
Become Root in Linux


How to
Create a File in a Directory in Linux

How to
Assign an IP Address on a Linux Computer

How to
Use Wine on Linux

How to
Boot Linux from a USB on Windows 10

Advertisement
About This Article
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 36,164 times.
How helpful is this?
Co-authors: 6
Updated: June 6, 2022
Views: 36,164
Categories: Linux
Advertisement