Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-02-2005, 02:10 PM   #1
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 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, 02:14 PM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,191
Blog Entries: 4

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


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

All times are GMT -5. The time now is 12:19 AM.

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