LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2003, 02:48 AM   #1
ewlnxnewB
Member
 
Registered: Oct 2003
Location: Honolulu, HI
Distribution: redhat 9, Fedora, Enterprise
Posts: 39

Rep: Reputation: 15
lost files when mv


Hello all I have been searching high and low for a solution. Originally I thought that I was having a problem with samba creating a shortcut or something to files on my windows machine and when I would delete the files from windows I would loose the file on linux. Well today I installed MySQL and it went off without a hitch. But the mistake I made was renaming the directory. Which I had been doing on the directories I moved from windows. Now I think the files must still be somewhere on the drive because when I do a ]$locate mysql-standard...blah..blah using the original foot long directory name I see all the files that were in it listed. But when I ]$ls -la from the original parent dirctory I dont see that mysql-standard.... So what I am curious about where do these files go when they dont move as they should? Why didn't they move? And above all can I get them back? Any words of wisdom, encouragment, sympathy? haha This problem has been driving me crazy. Is there some config file somewhere that is not quite right that would cause these files to get lost in the mv. Where oh where have my little files gone? please help.

Thanks
 
Old 11-20-2003, 03:09 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You didn't actually describe where you moved
them to, and how you did it. As for the locate,
that will be fixed on the next reboot or so ;)

Or run updatedb manually. It doesn't keep
track of files over times, it takes snapshots.

Please read one of my all-time favourites

Cheers,
Tink
 
Old 11-20-2003, 03:50 AM   #3
ewlnxnewB
Member
 
Registered: Oct 2003
Location: Honolulu, HI
Distribution: redhat 9, Fedora, Enterprise
Posts: 39

Original Poster
Rep: Reputation: 15
Well the mysql folder I executed "mv mysql-standard.x.x.i686 mysql" for the other folders, for the most part I used mv to move whole directories from either /tmp or /home/usr to /tmp/files. Some directories were renamed in the gui in order to remove spaces. The newly named directories only contain some of the files if any. I did most of this as su. Any ideas.
 
Old 11-20-2003, 04:14 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Your description still leaves me at loss.
How many directories did you move?
Which ones did you lose?

What did locate say after updatedb?


Cheers,
Tink
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lost files herjoc Linux - General 6 09-29-2005 10:28 PM
Lost files gauge73 Linux - General 1 07-18-2005 04:57 PM
Lost files? ParadiseNZ Linux - Software 2 04-19-2005 11:11 PM
lost files fremath Linux - Newbie 4 10-05-2004 10:58 AM
lost files still there... acid_kewpie Linux - General 1 08-07-2001 08:54 PM


All times are GMT -5. The time now is 04:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration