Yes.  I think if you used cp -R /home2/home/httpd/vhosts/ftwjr.com/
/home/httpd/vhosts/ftwjr.com it would not create the extra level of ftwjr.com.

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Ronald Wells
Sent: Tuesday, January 11, 2005 8:46 AM
To: [email protected]
Subject: Re: Copy Folders


Here is the line I ended up using.

[EMAIL PROTECTED] ftwjr.com]# cp -R /home2/home/httpd/vhosts/ftwjr.com
/home/httpd/vhosts/ftwjr.com

       That copied all the subfolders that I wanted it to. The only problem
is that I ended up creating a new subfolder called ftwjr.com within the
ftwjr.com folder.

       Since this is going on a web server, I "Must" create all the folders
in advance with another program. So, my question is, how do I copy the
files into an existing folder called ftwjr.com without creating a new
subfolder with the same name?

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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