0

How can I recover files deleted in Ubuntu using rm -f /pathtodirectory with only having access to terminal? I tried testdisk but it did nothing and just quit.

3
  • Nope. Once you rm -rf, it's gone.
    – Daniel
    Oct 7, 2015 at 2:31
  • rm -rf is basically "Get rid of this, I never ever want to see it again under any circumstances"
    – Daniel
    Oct 7, 2015 at 2:32
  • testdisk is for partition recovery. photorec is for file recovery. No guarantees that it would work, but you can try it.
    – Terrance
    Oct 7, 2015 at 4:28

1 Answer 1

0

Unless you have an alias somewhere rm (or /bin/rm) completely deletes a file from the disk. At that point the only way you might be able to recover is use data recovery software.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .