From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98650343001955.tru64-unix-managers.marc@archive.invalid> From: Andy Cohen Date: Thu, 05 Apr 2001 20:43:37 +0000 To: tru64-unix-managers Subject: ftp only files created today X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98650343001955 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