LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   command to restore deletede files ? (https://www.linuxquestions.org/questions/linux-software-2/command-to-restore-deletede-files-468273/)

thelonius 07-27-2006 11:42 AM

command to restore deletede files ?
 
Hello,

what is the nice command to restore deleted files ?

Thank you.

haertig 07-27-2006 11:50 AM

GUI desktops, like Gnome, have a wastebasket you can retrieve deleted files from (provided you deleted them using the GUI). If you deleted the file from the command line, pretty much consider it gone. There is not an easy way to recover it.

thelonius 07-27-2006 11:53 AM

Hello,

it was done in the command line. I'm quite sure that the disk wasn't touched since, so I hope that files might be recovered. And yes, there is a magic command to do the job, but I forgot its name.


Quote:

Originally Posted by haertig
GUI desktops, like Gnome, have a wastebasket you can retrieve deleted files from (provided you deleted them using the GUI). If you deleted the file from the command line, pretty much consider it gone. There is not an easy way to recover it.


xhi 07-27-2006 12:08 PM

Quote:

Originally Posted by thelonius
Hello,

it was done in the command line. I'm quite sure that the disk wasn't touched since, so I hope that files might be recovered. And yes, there is a magic command to do the job, but I forgot its name.

yeh.. i think its called pray..

Code:

% pray --to <your god>
heh.. there is no nice command that i have ever heard of.. though depending on the filesystem that you are using there may be some possibilities of recovery that i dont know of..

thelonius 07-27-2006 12:30 PM

Quote:

Originally Posted by xhi
there is no nice command that i have ever heard of..

it's because Slackware is tooooo stable... :D

xhi 07-27-2006 12:35 PM

heh. yeh, it could be.. if you find it please post it here, because i could have used it before (and im sure ill need it again someday)..

good luck..

raskin 07-27-2006 01:12 PM

Well, what filesystem do you use? If ext2, you can run mc as root and search menu for undelete feature. If ext3, you are out of luck (well, you can grep entire hdd, in rare cases it can save something). If you are using something else you should have written it in the heading of the topic, but maybe mention it now.


All times are GMT -5. The time now is 12:31 PM.