LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-29-2010, 02:20 PM   #1
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
Undeleting files from a USB stick, FAT32


I accidentally did rm -rf /mnt/usbdisk while my usbdisk was mounted to that location. I then copied a 350mb file to that disk before I realized what I had done.

Now I wished to recover some files from there. I tried testdisk which shows some filenames, but none contain useful data after copying them. Or even remotely recognizable data.

My question is is it to late? Has copying the 350mb fiel already overwritten the smaller textfiles?

Otherwise, is there a better undelet program to use?
 
Old 04-29-2010, 03:16 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Another program you can try is foremost:
http://foremost.sourceforge.net/

There is a reasonable chance that you have overwritten the smaller files and thus they are permanently lost.
 
Old 04-29-2010, 03:35 PM   #3
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Ahh I thought as much. I didn't know about foremost, thanks H_TeXMeX_H

In 2001/2 I remember using a program that allowed you ti display your hard-drive or storage device as raw data represented hexadecimaly. It had a curses interface and was quite useful, although I can't for the life of me remember what it was called. Would anyone have any idea?
 
Old 04-30-2010, 05:42 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, you can use 'most' or 'hexdump' or 'od'.
 
Old 05-01-2010, 03:05 PM   #5
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
No no.....it was a particular curses program...its really strange I can't find it now....hmmm
 
Old 05-01-2010, 03:16 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Try sourceforge and freshmeat, it's bound to be listed in both.
 
  


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
Some files on a USB stick won't open ppb7 Linux - General 6 10-13-2009 08:31 AM
Undeleting Files WolfCub Linux - Software 3 04-12-2006 06:21 AM
undeleting ext3 files cccc Linux - General 2 07-31-2005 06:23 AM
Undeleting ReiserFS Files KingofBLASH Linux - General 1 12-29-2003 04:10 PM
undeleting accidentally deleted files darksarin Linux - Newbie 3 11-21-2003 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 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