LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Copying file in text mode? (https://www.linuxquestions.org/questions/linux-newbie-8/copying-file-in-text-mode-164296/)

HadesThunder 03-30-2004 05:01 PM

Copying file in text mode?
 
Hi. Really simple question. What is the command for copying a file in text mode? Also how would I copy a folder from cdrom, named My Music/ My Pictures/ in text mode. As I have tried to leave a blank space inbetween the name and no success, ive also tried to put the name together MyMusic and no success. Thanks for any help.

trickykid 03-30-2004 05:05 PM

cp

man cp for the man pages or view them here online at http://man.linuxquestions.org

Peacedog 03-30-2004 05:06 PM

have a read here

http://linux-newbie.sunsite.dk/lnag_commands.html

<edit>trickykids got fast fingers</edit>

jods 03-30-2004 05:09 PM

the command for copying is cp

cp <source> <destination>

To include spaces in file names use backslash \ before space

As cdrom would normally be /mnt/cdrom u cud use
cp /mnt/cdrom/My\ Music/My\ Pictures/

for more help do man cp

Hope that helps
~Jods

HadesThunder 03-30-2004 06:01 PM

It has already been mounted. The problem was that I forgot the cd was not in the drive. Thanks anyway.

HadesThunder 03-30-2004 06:03 PM

Sorry, replied to wrong post. Will try that thanks jods.


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