Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > General Support

General Support Fedora general support. Ask questions here that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2005-07-31, 11:21 AM CDT
the_profiler's Avatar
the_profiler Offline
Registered User
 
Join Date: Dec 2004
Location: Infinity City
Posts: 249
How To Undelete Files?



need help.. i had accidentally executed "rm Untitled *" at the location/directory [/home/user1].. and obviously it had removed all of non-folder stuffs in that directory/folder..

is there an easy way to recover those files?

Thanks in advance!
__________________
----
Linux User #322120 iBlog

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Member, UP Linux Users' Group
Member, Association for Computing Machinery (ACM), UP Student Chapter
Member, UPACM Java Special Interest Group
Member, UPACM Mac Special Interest Group
Reply With Quote
  #2  
Old 2005-07-31, 11:26 AM CDT
smfinley's Avatar
smfinley Offline
Retired Community Manager
 
Join Date: Jul 2004
Posts: 1,304
Its not easy in Linux, but see this.
__________________
Stanton Finley
stanton-finley.net

Last edited by smfinley; 2005-07-31 at 11:35 AM CDT.
Reply With Quote
  #3  
Old 2005-07-31, 12:03 PM CDT
ms1234's Avatar
ms1234 Offline
Registered User
 
Join Date: Apr 2005
Posts: 293
Returning them from your backups?
Reply With Quote
  #4  
Old 2005-07-31, 12:18 PM CDT
SHtRO's Avatar
SHtRO Offline
Registered User
 
Join Date: Jul 2005
Posts: 176
I strongly urge you to add this to your .bashrc:

alias rm=rm -i

This is (or was) stock on many distributions, but not Fedora. You can override the -i flag with -f should you ever want to do that. Most properly written shell scripts account for this variation.

This won't recover your files, but it will help to prevent such mishaps.
Reply With Quote
  #5  
Old 2005-07-31, 02:11 PM CDT
Tashiro Offline
Retired Community Manager
 
Join Date: May 2004
Posts: 1,150
Moved to General Support.

Tashiro
__________________
Respect the FedoraForum.org guidelines
Reply With Quote
  #6  
Old 2005-07-31, 02:40 PM CDT
kosmosik's Avatar
kosmosik Offline
Registered User
 
Join Date: Apr 2004
Location: Warsaw, Poland
Age: 28
Posts: 1,084
most Linux filesystems do not support undelete... you can use libtrash to implement something like Recycled folder in Windows...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undelete Option ajeetraina General Support 2 2008-01-14 02:51 AM CST
need urgent undelete help! Wiles General Support 1 2006-09-21 10:34 AM CDT
How To Undelete Files? the_profiler General Support 1 2005-07-31 02:10 PM CDT
undelete from vfat fs B. Paris alt.os.linux.redhat 2 2004-06-14 08:27 PM CDT
undelete from vfat fs B. Paris alt.os.linux.redhat 2 2004-06-14 08:26 PM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

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

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Languages translations delivered by vBET