Announcement

Collapse
No announcement yet.

[SOLVED] - A vain hope of help undeleting a file

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] - A vain hope of help undeleting a file

    Does anyone know how to undelete a file in an Ext4 file system? I just realized that a bunch of files in a folder disappeared. It's been a while since I used these files last.

    I'm fairly certain that the partition has had data written back and forth since then.

    Are the files considered a goner? Is it worth trying anything?

    #2
    Re: A vain hope of help undeleting a file

    Hi, of course you searched in the Trash folder already, right?

    Comment


      #3
      Re: A vain hope of help undeleting a file

      if your like me and allwase use the shift>delet probley not ......if you dont check the trash...

      hears a program I found in synaptic that mite help ...magicrescue

      never used it but thar ya go

      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #4
        Re: A vain hope of help undeleting a file

        And/or, try PhotoRec (it is part of TestDisk)
        http://www.cgsecurity.org/wiki/PhotoRec
        But it doesn't look like it supports ext4 yet ... ?
        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

        Comment


          #5
          Re: A vain hope of help undeleting a file

          On an ext3 filesystem, I have used a utility called ext3grep (in the repos)

          I'm not certain if there is an equivalent for ext4 though

          Comment


            #6
            Re: A vain hope of help undeleting a file

            Thanks for the advice guys...

            No, there was not an entry in the "Trash" folder. I'm really hoping that it wasn't a stray 'rm -rf' command that I put in that may have gotten rid of it.

            By luck, it happens to be a perl file I created a while back. So I'm doing the following trying to get it back:

            Code:
            user@user: sudo magicrescue -d /media/Kingston/ -r /usr/share/magicrescue/recipes/perl /dev/sda5
            It found one perl file...

            Code:
            Found perl at 0x5031826FE
            score +10 for 0x00
            Score too high at 21526759578
            10 > 9
            /media/Kingston//0005031826FE-0.pl: 8603 bytes
            But that wasn't it. It's still running. I will see what I find passed that.

            Comment


              #7
              Re: A vain hope of help undeleting a file

              It found the file!!!

              I recovered the lost file that I was looking for.

              THANKS TO ALL OF YOU for helping me get this file back. It wasn't going to crash my system, but it was something I did not want thrown away.

              Comment


                #8
                Re: [SOLVED] - A vain hope of help undeleting a file

                sweet nice to know that one works some wat if I ever nead it.

                VINNY
                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Re: [SOLVED] - A vain hope of help undeleting a file

                  magicrescue

                  Ubuntu Manpage: magicrescue (Karmic)
                  Using Kubuntu Linux since March 23, 2007
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment

                  Working...
                  X