tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Andy Cohen <Andy.Cohen () cognex ! com>
To: tru64-unix-managers
Subject: ftp only files created today
Date: Thu, 05 Apr 2001 20:43:37 +0000	[thread overview]
Message-ID: <98650343001955.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-04-05 20:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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