Is there any way to recover files in /usr/local directory on Ubuntu?

Posted by Ilya on Server Fault See other posts from Server Fault or by Ilya
Published on 2010-03-17T11:42:31Z Indexed on 2010/03/17 11:51 UTC
Read the original article Hit count: 372

Filed under:
|
|
|

We are running Ubuntu server on VPS. Some files were removed accidentally by placing unnecessary space this command:

rm -r /usr/local <directory to be deleted>

I know, that in most cases this directory is used by packages to place some part of their content.

Is there any where to recover deleted files and directories?

I suppose, that theoretically it should be possible. Some software can look through the list of installed packages, check presence of files in file system and recover or reinstall corrupted packages if their file are missing in /usr/local.

© Server Fault or respective owner

Related posts about linux

Related posts about file-recovery

  • mac osX file recovery

    as seen on Super User - Search for 'Super User'
    I thought that all operating systems would merge folder content when being moved to the same location. Imagine my surprise when that didn't happen and I have hundreds, if not thousands of files that have gone missing and are nowhere to be found. Because they were not "deleted" they are not in the… >>> More

  • Mac OS X file recovery

    as seen on Super User - Search for 'Super User'
    I thought that all operating systems would merge folder content when being moved to the same location. Imagine my surprise when that didn't happen and I have hundreds, if not thousands of files that have gone missing and are nowhere to be found. Because they were not "deleted" they are not in the… >>> More

  • help! corrupt file recovery

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    My supervisor computer crashed last night, and I'm trying to help him out. He made an R script but when he tried to open it, it was empty. But for some reason the file is 7.9kb so it should not be empty i think... anyway when i tried to open it, Gedit gave this error: "The file you opened has… >>> More

  • Expectations for NTFS file recovery

    as seen on Super User - Search for 'Super User'
    Yesterday I booted my XP system, and as I looked up a minute later I saw the light blue screen and tail-end of that pre-boot diskcheck Windows sometimes does if it finds an error (or was previously told to run a diskcheck drung the next boot). I didn't worry about it at the moment... But then I… >>> More

  • reclaime like, recovery software

    as seen on Super User - Search for 'Super User'
    I need a recovery software that has the features of reclaime file recovery. Those are, to be able to read image files, to keep folder structure, to be as efficient but to be free. I can't afford reclaime and all free software that i know out there either support folder structure but cannot read an… >>> More