LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-27-2006, 11:42 AM   #1
thelonius
Member
 
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136

Rep: Reputation: 15
command to restore deletede files ?


Hello,

what is the nice command to restore deleted files ?

Thank you.
 
Old 07-27-2006, 11:50 AM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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.
 
Old 07-27-2006, 11:53 AM   #3
thelonius
Member
 
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136

Original Poster
Rep: Reputation: 15
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.
 
Old 07-27-2006, 12:08 PM   #4
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
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..
 
Old 07-27-2006, 12:30 PM   #5
thelonius
Member
 
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by xhi
there is no nice command that i have ever heard of..
it's because Slackware is tooooo stable...
 
Old 07-27-2006, 12:35 PM   #6
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
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..
 
Old 07-27-2006, 01:12 PM   #7
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
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.
 
  


Reply



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
Backup and Restore Command jimmete Amigo 4 06-07-2006 08:02 PM
dd backup and restore command jimmete Red Hat 4 06-07-2006 03:13 AM
How to restore files sofasurfer Linux - Newbie 6 01-16-2004 04:05 AM
how to restore deleted files ? ilyes Linux - General 3 08-01-2003 07:13 AM
Restore command chuck77 Linux - General 2 03-26-2002 07:37 PM

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

All times are GMT -5. The time now is 01:52 AM.

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