LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   data recovery (https://www.linuxquestions.org/questions/linux-general-1/data-recovery-285374/)

aZa.HFN 02-02-2005 12:24 PM

data recovery
 
Hello all,
This is a first time post but quite an important one. I was moving some files around (some very important files) to the directory /home/ftp, i was in /home/me (or so i thought) so i was using mv <filename> ../ftp, I did this for multiple files. The problem is, I wasn't in /home/me I was in /home/me/crap. So i kept moving the files to /home/me and calling them ftp which means i overwrote each file with the next mv <filename> ../ftp. I'm wondering if there is any way to recover the files? I did an echo lsdel | /sbin/debugfs /dev/hda7 > /tmp/lsdel.out but this does not show the Inodes as deleted (probably because i did not delete the files), I rekon its still possible to recover tho as all i have done is change Inodes information and not actually over written anything (I hope). Plz help if u can or point me in the right direction, it will be much appreciated

p.s I know i should of had them backed up and I am stupid ;-)

Thanks,
Aaron

320mb 02-02-2005 12:58 PM

this is why one should have an alias in their ~/.bashrc

alias mv='mv -i'

this will prompt you with a message, do you really want to move this file.............


All times are GMT -5. The time now is 02:16 PM.