The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using camcorder tapes to back up files iBot UNIX and Linux RSS News 0 12-20-2007 08:20 AM
IPMP setup removed, comes back with reboot jackiea SUN Solaris 2 11-05-2007 08:18 PM
Can I back up all the files I work with each day using tar? jo calamine Filesystems, Disks and Memory 2 10-01-2006 02:35 PM
recovering files removed with rm jack1981 UNIX for Dummies Questions & Answers 4 09-15-2006 04:06 AM
Will Old Files Be Removed sunsation UNIX for Dummies Questions & Answers 5 06-26-2005 09:24 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-23-2001
Registered User
 

Join Date: Jun 2001
Location: Tehran, Iran
Posts: 61
Unhappy Bring back removed files

Dear People
I have removed some of my files and directories( by using rm and rmdir commands) by mistake. I wish to bring them back. How is it possible?( I am using solaris 2.6)
best regards
Reza Nazarian
Forum Sponsor
  #2 (permalink)  
Old 07-23-2001
mod mod is offline
Registered User
 

Join Date: Jul 2001
Location: Vienna
Posts: 29
Thumbs down

There are two possibilities:

1. Restore them from backup (if you have one)
2. Write them new ;-)

I think you are searching for an undelete-commando or any kind of wastebasket like under ms-windows, but there is none under unix ... bad luck
  #3 (permalink)  
Old 07-23-2001
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
a hint for next time.

alias your rm command to move the files to the /tmp dir. then if you really wanted to delete them use a rm -f from the tmp dir.

its a tuff lesson to learn but it happens.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0