Review your favorite Linux distribution.
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 11-23-2003, 06:23 PM   #1
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 103

Rep: Reputation: 15
Angry copying files

I am trying to copy files from a CD to /var/www/html on a RedHat9 Box. I typed /mount cdrom and went to the /mnt/cdrom folder and I see all the files on the cd. I type the command cp /mnt/cdrom /var/www/html and it says "ommiting directory /mnt/cdrom" I tryed it from diffrent directorys with same message. Why it do that?
Old 11-23-2003, 06:38 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
if you wnat ot copy directories "recursively" then you need a -r switch:
cp -r /path/to/source /path/to/destination


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
Copying files paddyjoy Linux - Newbie 10 10-25-2013 12:12 PM
need help with copying files Earl Parker II Linux - General 8 09-12-2005 09:54 AM
Copying FIles Casper12 General 4 08-07-2005 05:30 PM
copying files Sol0 Linux - Software 7 08-18-2003 11:40 AM
Copying Files... viperquest Linux - Software 3 03-07-2003 03:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 PM.

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