Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-04-2004, 04:52 AM   #1
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
recovering deleted files


probably the right forum for this, as I've just done a Noob mistake.

I have accidentally deleted a big folder of my documents (on my server) which I need.

The foler was "my_documents" and I deleted it by SSHing in and typed "rm -rf my_documents"

(I was actually trying to delete a different folder, but, hey, I'm a moron!)

OK, is htere any way to recover this directory?

I heard there was something in Linux about the difference between "hard" and "soft" links. Could I use this to my advantage? Is it the case the I have just deleted the "link" to the directory, but no actually deleted the files themselves?

Please give me some help, or tell me that I've lost it all. Thanks
Old 10-04-2004, 04:59 AM   #2
Registered: Jul 2003
Location: Durham, UK
Distribution: Ubuntu 8.04
Posts: 419

Rep: Reputation: 30
Since you did it from the command line you've made things difficult. Try searching LQ for "undelete" to see what others did.

In the meantime here is a comprehensive guide:

Old 10-04-2004, 06:51 PM   #3
Not now, John!
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
If it was on ext3 file system - there's no way to undelete files.
If it was on ext2 file system there is a way. Go to


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
Recovering deleted files?? DaFrEQ Linux - General 8 09-17-2005 01:28 PM
Query: recovering deleted files... kevingpo Fedora 2 07-28-2005 08:11 PM
recovering deleted files saipraveen Linux - Newbie 1 06-16-2005 12:00 PM
Recovering Deleted Files Brian of Gep Linux - Newbie 1 03-02-2004 03:26 AM
Need Help Fast...recovering Deleted Files dowdnt Linux - General 1 07-09-2003 10:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 AM.

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