LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CP command doesn't work properly? (https://www.linuxquestions.org/questions/linux-newbie-8/cp-command-doesnt-work-properly-349292/)

itz2000 08-02-2005 01:10 PM

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

XavierP 08-02-2005 01:14 PM

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.


All times are GMT -5. The time now is 04:53 PM.