LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-27-2010, 06:55 PM   #1
belliott4488
Member
 
Registered: Oct 2003
Location: Ellicott City, MD, US
Distribution: Fedora 11
Posts: 67

Rep: Reputation: 15
Any way to recover files deleted from KDE trash?


Well, I've done the age-old trick: in a fit of ... something, I moved a few files from a directory in my home directory structure to the KDE trash folder, and then deleted them from the trash folder.

About a minute later I regretted this, and now I'd like to see if there's any way to recover the files.

First, are there any good utilities for restoring accidentally deleted files? If so, where would I look for these files? Does the KDE trash config file actually correspond to a physical directory somewhere, or do the files just remain hidden in their original location?

Thanks for any help.
 
Old 05-28-2010, 12:52 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

You can have a go at it with Testdisk & PhotoRec.

Kind regards,

Eric
 
Old 05-28-2010, 02:28 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Distribution: Fedora Core 4, Red Hat 9.0
Surely not!!

Most distributions have file recovery software in their repositories.
Look them up and see which suits your setup.

There are general utilities like magicrescue and they get as specific as you like, such as jpegrecover.

Testdisk is really about recovering lost partitions and photorec is about recovering image files - though the site boasts that it recovers other files as well. As usual, look in your repos first, then go for third parties.

We cannot be specific though, because we don't know your file-system and file types. If worst comes to worst you can do file recovery with grep.

However:

You don't have to go anywhere to look for the files, you install the utility and you run it.

The "move to trash" action does move the file to a trash directory. Something like ~/.local/share/Trash ... you realise that the file itself does not have to move in the sense of changing its location in memory?

Last edited by Simon Bridge; 05-28-2010 at 02:36 AM.
 
Old 05-28-2010, 02:31 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by Simon Bridge View Post
Testdisk is really about recovering lost partitions and photorec is about recovering image files - though the site boasts that it recovers other files as well. As usual, look in your repos first, then go for third parties.
Hello,

I've used PhotoRec on various occasions to recover deleted files and it doesn't 'only' recover image files.

Kind regards,

Eric
 
Old 05-31-2010, 06:46 AM   #6
belliott4488
Member
 
Registered: Oct 2003
Location: Ellicott City, MD, US
Distribution: Fedora 11
Posts: 67

Original Poster
Rep: Reputation: 15
@Simon - Sorry, I neglected to say that I'm running 64-bit Fedora 11.

@Eric - Thank. photorec worked pretty well, restoring some 100,000 image files. Unfortunately, the ones I was hoping to recover were not among them, so it appears they are lost forever.

@JZL2401-U - I try to check those out, although as time goes on, I'm getting less hopeful.

Thanks for the help,
Bruce
 
Old 05-31-2010, 07:24 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Hint: Naming the file system you use might have shortened my list . Good luck to your recovery project.
 
Old 06-01-2010, 02:39 AM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
belliott4488: are we to understand that there are files which were not recovered by Photorec? Have you tried the recovery software in your yum repos?

fedora has been known to break or remove third-party software on upgrades, as a result, the first port of call for new software is the yum repository.

yum install magicrescue

... will probably do the trick. The yum extender is a useful gui frontend to yum, lets you browse installed and available packages.

You also realise that f11 will soon become unsupported?
 
  


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
INFORMATION!!!!! rm will move deleted data to Trash.........For future recover farrukhndm Linux - Server 5 09-01-2008 12:57 PM
Deleted All My Files... They are in the Trash, but...... Dolamite777 Linux - Desktop 3 08-21-2007 06:38 PM
Recover Trash in KDE Cornholio Linux - General 6 01-02-2007 01:58 AM
Deleted Trash icon in KDE 3.4.2 jong357 Slackware 5 09-05-2005 03:05 PM
I deleted my trash in KDE :( astrowill Linux - Software 3 06-08-2005 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:28 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