> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On 
> Behalf Of Ronald Wells
> Sent: Tuesday, January 11, 2005 8:49 AM
> To: [email protected]
> Subject: Re: Copy Folders
> 
> 
> Think I'm missing something..
> 
> This is what I am doing, when trying to "copy" folders from 
> one hard drive
> to another. Do you have any idea what I am doing wrong? One 
> drive is called
> "home" and the other one is "home2", however there is also a 'home'
> subfolder in the 'home2' folder.
> 
> Thanks for any ideas.?
> 
> [EMAIL PROTECTED] vhosts]# mkdir ftwjr.com
> [EMAIL PROTECTED] vhosts]# cd ftwjr.com
> [EMAIL PROTECTED] ftwjr.com]# cd /home2/home/httpd/vhosts/ftwjr.com/
> [EMAIL PROTECTED] ftwjr.com]# cp -R /home/httpd/vhosts/ftwjr.com/
> cp: missing destination file
> Try `cp --help' for more information.
> 

What do you want to copy from and to?

cp -R $FROM $TO

e.g.

cp -R /home/httpd/vhosts/ftwjr.com /home2/httpd/vhosts/ftwjr.com

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to