Find the answer to your Linux question:
Results 1 to 9 of 9
Hey everyone, Is this possible? Some files were accidentaly deleted and I could really use them back. *EDIT* I forgot to mention that the filesystem was fat32. Bryan...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619

    Recovering files removed with rm -rf *SOLVED*


    Hey everyone,

    Is this possible? Some files were accidentaly deleted and I could really use them back.

    *EDIT* I forgot to mention that the filesystem was fat32.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Solved! Thankfully (it was all of my school work )! For those who were wondering, I did it through Windows with Active@ UNDELETE.
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Linux User
    Join Date
    Jan 2005
    Location
    Arizona
    Posts
    288
    You really should consider switching to srm

    pacman -Ss srm
    Michael Salivar

    Man knows himself insofar as he knows the world, becoming aware of it only in himself, and of himself only within it.
    --Goethe

  4. #4
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Care to explain? The pacman description doesn't make much sense to me.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  5. #5
    Linux User
    Join Date
    Jan 2005
    Location
    Arizona
    Posts
    288
    sorry, just a joke

    It's a secured version of rm which thwarts data recovery by writing over the file before deleting it.

    I'm glad you got your data back, I haven't been so lucky in the past.
    Michael Salivar

    Man knows himself insofar as he knows the world, becoming aware of it only in himself, and of himself only within it.
    --Goethe

  6. #6
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Quote Originally Posted by Ethyriel
    sorry, just a joke

    It's a secured version of rm which thwarts data recovery by writing over the file before deleting it.

    I'm glad you got your data back, I haven't been so lucky in the past.
    School makes my mind crazy so that could explain why I didn't get the joke.

    Yeah, it was formatted as fat so it was as easy as simply getting a program off the net. Thank God! It could have been one terms worth of 2nd year university notes gone forever!

    I was this: and now I am this:

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  7. #7
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    If inadvertent rm-ing is a habit you could write a script that mv's the rm'd files to a holding area, and alias rm to use that script. Then periodically flush the old stuff out of the holding area.

  8. #8
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    I usually don't have a bad habit of doing that but it is a great idea.

    Thanks,
    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  9. #9
    Linux User
    Join Date
    Jan 2005
    Location
    Arizona
    Posts
    288
    Come to think of it, Arch also has libtrash in the repository which does much the same.
    Michael Salivar

    Man knows himself insofar as he knows the world, becoming aware of it only in himself, and of himself only within it.
    --Goethe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •