I did a rm -r command on a directory. I would like to know if there is any way I can recover the data that was lost during this operation.
Do you have a backup? If so, get it from the backup. If not, it is unlikely you will be able to recover the data, or all the data. There are some utilities and such available that try to "find" the pieces of the data and put it back together but this is usually very difficult and not 100% effective. For all practicle purposes, once you run rm, the data is gone unless you have a backup.
Hi pkappaz,
you can try this..
http://www.unix.com/showthread.php?s=&threadid=1780
Wish you good luck!
![]()