LinuxQuestions.org
Help answer threads with 0 replies.
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 05-08-2009, 02:58 PM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 386

Rep: Reputation: 30
recover files after rm -rf


I accidently removed a directory using rm -rf under Redhat (ext2)
Is there a way to get the dir back? This file is under /home/user1
 
Old 05-08-2009, 03:17 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You should try to do some research on your own before posing a question here. Google can be a big help. Here are some results to searching Google for undelete ext2.

http://www.cgsecurity.org/wiki/TestD..._file_for_ext2

http://packages.ubuntu.com/hardy/recover
 
Old 05-08-2009, 03:37 PM   #3
dandart
Member
 
Registered: Dec 2005
Posts: 34

Rep: Reputation: 18
rm -rf was designed to remove your file and as such it does. Be happy you didn't use shred!
Look for e2recover or e2undelete if you're on ext2/3/4.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to recover files kadharris Linux - Newbie 5 02-20-2007 03:16 AM
HELP: How to recover rm -rf files? fhleung Linux - Newbie 3 05-10-2006 11:43 AM
How do I recover deleted files? Hector404 Linux - General 5 12-27-2005 01:35 AM
Recover Files Pablop Linux - Newbie 3 10-19-2005 05:45 PM
Recover Files in Linux??? How to??? DeathGoth Linux - Software 1 10-17-2004 03:35 PM

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

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