LinuxQuestions.org
Register a domain and help support LQ
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 08-02-2005, 01:10 PM   #1
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
CP command doesn't work properly?


Hi... Maybe instead of typing the problem I Will ask what's the right command and then I will see what I've done wrong.


I'd like to copy from '/mnt/windows/.../../../x/y/' directory, the files only, in the directory y.
to
'.mozilla/.../.../.../.../z/'
to the z folder, without having a folder inside named y :S

also, I'd like the files to overwrite the old files, and Force them to move (A.K.A without asking me Y/N Questions )

Thanks in advance
 
Old 08-02-2005, 01:14 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
You should use the 'mv' command: mv /mnt/windows/.../.../.../y ~/.mozilla/.../.../.../z. ~ is shorthand for your home directory - you can replace it with /home/username/ if you wish.

Also do man mv to see other options to use with mv.
 
  


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
mysqladmin doesn't work properly Dark Severance Red Hat 0 04-21-2005 09:55 AM
NVIDIA does not work properly in 10.1 Cornholio Slackware 7 03-28-2005 03:00 PM
startx doesn't work properly Ungluun Debian 9 07-13-2004 07:25 AM
gpm don't work properly Duukkis Linux - Software 3 03-21-2004 09:58 AM
[help]my JuK can't work properly now... QuickTime Linux - Software 1 12-26-2003 10:33 AM


All times are GMT -5. The time now is 01:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration