• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to recovering deleted file  RSS feed

 
dobi dobriyal
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i had deleted some important files by mistake
i know there is some way to recover but i can't figure out how to?
somebody help me out? plzzzzzzzzzzzz
i have not switched off my pc or saved ne file after that
TIA
dobi
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"stuart little"-
Welcome to the JavaRanch! We like to keep a nice professional lookin' image... (we don't want anyone to show up the Moose). So, can you please adjust your displayed name to match the JavaRanch Naming Policy? Basically it should be a believeable and not obviously fictitious first and last name. You can change it here.
Thanks! and again welcome to the JavaRanch!
[ November 29, 2003: Message edited by: Jessica Sant ]
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"dobi"-
Your display name is closer... but the naming policy requires that it be both a first AND last name, like "dobi jones" or "dobi christensen" or heck, even your real last name.
Thanks!
- Jess
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dobi --
Sorry to tell you that Linux isn't like DOS; recovering deleted files isn't just a matter of flipping a "deleted" bit.
What you can do is look at the raw disk image and try to search for the deleted files' contents; if they were text files, you may be able to recover entire files this way. If you can, make a copy of the relevant partition using "dd" -- something like
dd if=/dev/hda1 of=/disk2/dump
to make a copy in the file "/disk2/dump" -- here I'm assuming you've got a filesystem on a separate disk or partition mounted at /disk2 (i.e., separate from the partition where the missing files were.) Then edit the file "dump" and search for the contents of the files. Cut and paste whatever you can find into new files to reconstruct the original files.
If we're talking about binary files, the job is obviously a lot harder.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!