LinuxQuestions.org
Help answer threads with 0 replies.
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 07-20-2004, 09:45 AM   #1
Passive
Member
 
Registered: Mar 2002
Posts: 51

Rep: Reputation: 15
Arrow Up %$## creek, deleted wrong files.


In my infinite wisdom I decided to re-arrange my files today.
Part of this was moving my work files into my work folder in my home directory. That went fine.
Then I decided to delete another folder in that same directory.
Then the phone rang. I picked it up, pressed shift-delete, got the vague sense that something looked wrong, and clicked the confirm.
I just deleted all my work for the past 2 years.
I managed to click cancel before it was finished, but that didn't seem to do anything.

I've looked into recovering it, but it's on an Ext3fs, which apparently makes recovery impossible.

I'm not entirely out of luck, I've still got backups, but most of them are a couple months old.

Anyone have any ideas, besides "backup more often" .
 
Old 07-20-2004, 09:57 AM   #2
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
sorry mate you're stuffed.
 
Old 07-21-2004, 02:54 PM   #3
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Undeletion doesn't appear to be an option, but there is one less than practical solution. You can view the raw data with a hexeditor. One hexeditor that I use is hexedit. My command would be:
hexedit /dev/hdX

You could search for your most important data if you can recall any text within it. You may not get everything if the files are large though, because large files are split into smaller chunks on the disk.

Example of a lost file:
>To: gnu1@gnu.com
>From: gnu2@gnu.com
>Subject: Hi
>Message:
>Whenever I try this command apt-get install ultracool_personality
>I always get the error "Access Denied"

I would probably search for this file using the string "ultracool_personality".

Also, another tool you might try is grep.
 
  


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
Deleted the wrong folders Thanotos Linux - Newbie 8 11-07-2005 07:30 AM
Need Help - Deleted Files fpdesignco Linux - Enterprise 3 11-05-2005 09:21 AM
Deleted the wrong folders Thanotos Slackware 3 11-02-2005 09:48 AM
config gone wrong with DHCP, ftp up creek TreeHugger Linux - Networking 2 11-18-2004 09:47 AM
How to delete the destination files while the source files deleted in cp -u ? myunicom Linux - General 4 09-26-2003 01:13 PM

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

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