You are not logged in.

#1 2012-06-26 12:29:55

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Missing files big time

Hello!

It looks like i made a big mistake. I used a script which searches for disowned files and erased a lot of files in /usr/share/mime/application, image and audio folder. I thought it is not such a big deal since no package owns them. Well, then i log in in my KDE and instantly got a lot of warnings of missing files for okular and juk (and some other too - i don't remember anymore). I "fixed" that with reinstalling shared-mime-info package but now i don't  have my music any more in my partition. It is not just that playlists were removed all my music is gone. I just hope that other stuff in on my partition (have yet to check but for now it looks fine). How is this possible? How removing mime files erased my music?

Thanks for any clarification!

EDIT: Actually i have somehow deleted this files on 2nd june. Don't know how by which actions i deleted them. Ouh well sad

Last edited by Shark (2012-06-26 12:47:51)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#2 2012-06-26 13:48:44

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Missing files big time

Do you know what the golden rule of the IT age is?

Always have backups!


You can attempt to recover them with photorec (from the testdisk package) but nothing is for certain. A commercial alternative is R-Studio.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-06-26 14:03:18

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Missing files big time

Hehe, yes i know and i do backups. I tried with photorec but not all audio files were complete. Ouh well, it's jsut music smile


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#4 2012-06-26 15:13:10

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Missing files big time

That's because some of them were overwritten. June 2nd was a long time ago... Whenever you delete something, it still remains on the disk until you write something over it. The next time this happens you should immediately stop everything you're doing, unmount and make a dd backup of the partition (if you can) and *then* attempt recovery.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB