Hi,
I'm trying to write a shell script that will run nightly from cron to ftp
files from an alphaserver to a sun box. The directory on the alphaserver
has lots of large files but I only want to copy files that have been created
in the last day. I can find these files (with the find) command but I don't
know how to get this information to ftp. Is there some way I can pipe it to
ftp? Should I redirect the output from find to a file and then have the
script loop through this file and ftp the files listed in this file? If I
do the latter method my sense is that I will be opening and closing the ftp
connection for each file and since there could be several hundred files
should I be concerned about that?
Thanks in advance!
Andy
Received on Thu Apr 05 2001 - 20:44:35 NZST