Help with cp syntax

2004-07-07 Thread Ted Roche
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 o

Re: Help with cp syntax

2004-07-07 Thread Numberwhun
Ted Roche wrote: Isn't that what the "-R" as in recursive is supposed to do? Yup, sure is. Have you tried taking out the *.*? I believe you should just need the directory name in this case. Regards, jlk ___ gnhlug-discuss mailing list [EMAIL PROTECTED

Re: Help with cp syntax

2004-07-07 Thread Kenny Donahue
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=ye

Re: Help with cp syntax

2004-07-07 Thread Matt Brodeur
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jul 07, 2004 at 05:23:43PM -0400, Ted Roche wrote: > cp -Rv /home/troche/Present/1999/*.* /var/www/html/Present/1999/ > > The files in the 1999 folder are copying fine, but the files in > subdirectories of the source 1999 folder, subdirectori

Re: Help with cp syntax

2004-07-07 Thread Ted Roche
'Xactly right - thanks to all! On Jul 7, 2004, at 5:43 PM, Matt Brodeur wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jul 07, 2004 at 05:23:43PM -0400, Ted Roche wrote: cp -Rv /home/troche/Present/1999/*.* /var/www/html/Present/1999/ The files in the 1999 folder are copying fine, but