LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to move and copy files.... (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-move-and-copy-files-137511/)

JMK 01-22-2004 01:19 PM

how to move and copy files....
 
hey guys just wondering how to move or copy files in gnome terminal ... eg


copy /home/j/mp3's to /home/mp3's

thanks

RolledOat 01-22-2004 01:22 PM

man cp

cp /home/j/*.mp3 /home

R.O.

Mikhail_16 01-22-2004 01:22 PM

lets see:

'man cp'
'man mv'

twantrd 01-22-2004 04:57 PM

Yep,

Always do a 'man <command>' to see the instructions and how to use them. In case you are still muddled up.

Quote:

copy /home/j/mp3's to /home/mp3's
then you would 'cp -R /home/j/mp3's /home'

The '-R' flag stands for recursive which you will need if you are planning to move or copy directories. So, in this case you are copying the 'mp3's' directory to /home. Hope that helps a bit...

-twantrd


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