Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to recover file if remove (rm) ?

Status
Not open for further replies.

suhaimi

Technical User
Aug 3, 2001
71
US
Hi all,
Is there anyway that we could recover remove files (rm), as DOS undelete command?

Suhaimi
 
The short answer is no ... there is no way to recover a file once you've done an rm.

However, I read an article once which suggested that a deleted file may be recoverable if you recognize the fact that it was deleted in error immediately. Then there may be steps you can take, but it's a long shot. I'll see if I can find it.

The most common alternative is to write (or make use of) a "recycle bin" script. This script essentially replaces the rm command.

Greg.
 
As usual, from your daily backup...

Hope This Help
PH.
 
Unless you have a File system with Journaling active, and unless your file is versioned then you are pretty much stuck to your backup..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top