Help with cp syntax

Kenny Donahue kennyd at mc.com
Wed Jul 7 17:37:00 EDT 2004


The "*.*" is burning  you.  Just use the single "*"
Thanks,
Kenny

Ted Roche wrote:

> 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
>
>
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
>
>




More information about the gnhlug-discuss mailing list