LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 03-14-2024, 01:43 PM   #1
anon298
Member
 
Registered: Aug 2016
Posts: 338
Blog Entries: 1

Rep: Reputation: 12
Recover Deleted File on USB HDD


Guys, if I delete a file on my USB HDD, is there any way to recover it?

Praying now...
 
Old 03-14-2024, 02:00 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by FenderGuy View Post
Guys, if I delete a file on my USB HDD, is there any way to recover it? Praying now...
The answer is "maybe", since you don't give us ANY details at all. Like the kind of USB storage (NVME? SSD? Standard flash?) what kind of filesystem is on it, what you did AFTER you deleted the file, or even version of Mint. We can't guess.

Best chances are to remove the drive immediately after unmounting it.
 
Old 03-14-2024, 03:29 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Testdisk, photorec.

In many cases you don't really delete the file actually you just delete reference point to it. The space becomes available unless you have some sort of trash can or recycle bin.

Last edited by jefro; 03-14-2024 at 03:30 PM.
 
Old 03-14-2024, 05:36 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
To elaborate if you deleted the file from the file browser it may be in the trash. If you deleted the file from a terminal window you need to use the mentioned recovery tools.
 
1 members found this post helpful.
Old 03-15-2024, 04:13 AM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
FenderGuy,

As per michaelk's reply.

I just deleted a file from my USB drive and then closed the drive.

I reopened the drive and there in the Trash file was the original file.

Unless you also clicked on "Empty Trash" when you closed the USB drive, then the original file(s) should still be intact in the Trash folder.
 
Old 03-15-2024, 07:09 AM   #6
anon298
Member
 
Registered: Aug 2016
Posts: 338

Original Poster
Blog Entries: 1

Rep: Reputation: 12
DIDN'T ACTUALLY SOLVE IT. I DECIDED THAT I'M DUE FOR A JEW LAPTOP. :wink:
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover HDD after booting from DSL formatted my HDD chessmad00 Linux - Newbie 3 05-07-2012 04:39 PM
How to recover a deleted file using the ext3 file system wdhpr Linux - Newbie 6 01-11-2011 10:04 PM
Can I recover a deleted file in Linux ? josedsilva Linux - General 9 01-05-2010 07:49 AM
Need help to recover Deleted file - (file was saved in doc) Pravab Ubuntu 2 08-17-2008 10:57 AM
Use Linux to recover deleted files from NTFS USB drive writedom Linux - Newbie 2 06-05-2008 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration