LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-02-2005, 12:24 PM   #1
aZa.HFN
LQ Newbie
 
Registered: Feb 2005
Location: UK, Leeds
Distribution: Gentoo ;-)
Posts: 2

Rep: Reputation: 0
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
 
Old 02-02-2005, 12:58 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
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.............
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
data recovery? xushi Slackware 2 07-04-2005 06:02 PM
data recovery yjiang Linux - General 7 12-30-2004 08:58 PM
CD-RW Data Recovery rignes Linux - Software 0 05-21-2004 06:52 PM
data recovery bardinjw General 1 02-12-2004 02:59 AM
data-recovery lobo Linux - General 3 01-24-2002 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration