tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* ftp only files created today
@ 2001-04-05 20:43 Andy Cohen
  0 siblings, 0 replies; only message in thread
From: Andy Cohen @ 2001-04-05 20:43 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-05 20:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-05 20:43 ftp only files created today Andy Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox