On Jan 11, 2005, at 10:46 AM, Ronald Wells wrote:

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?

Either cd to ..../vhosts, rm -rf ftwjr.com, and repeat the command, or,
from .../ftwjr.com, put a "/*" on the end of your cp command (be
warned, that may not create dotfiles; if you're using GNU cp, use cp -a
instead).

Adam

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