Help with cp syntax

Ted Roche ted-mac at comcast.net
Wed Jul 7 17:24:15 EDT 2004


I'm trying to copy a nested set of directories and files I've uploaded 
to my
home directory to the corresponding folders on the web site:

cp -Rv /home/troche/Present/1999/*.* /var/www/html/Present/1999/ 
--reply=yes

The files in the 1999 folder are copying fine, but the files in
subdirectories of the source 1999 folder, subdirectories that don't 
exist in
the target, are being ignored. Isn't that what the "-R" as in recursive 
is
supposed to do?

Ted Roche & Associates, LLC
http://www.tedroche.com





More information about the gnhlug-discuss mailing list