On Wed, 2002-01-30 at 13:59, Anthony E. Greene wrote: > You'll have to write a script to either mount the share (NFS, Samba) or > download the files (FTP). An FTP script is simply a file containing all the > commands that you'd use with the commandline FTP client, ie; > > open myserver.mydomain > lcd localrpmdir > cd remoterpmdir > hash > binary > mget *.rpm > quit
we use rsync over ssh to push stuff like this. You need a passphraseless key or ssh-agent to handle the authentication but once done it works like a dream. the cron job can then just do the rmp -Fvh stuff. one of the advantages is that you can change the server easily since the server drives the process. and of course no clear test passwords :) hear is a version of the command line we use in a script that scrolls through a list of machinenames ($remotebox): rsync -rzvLtc --rsh=/usr/bin/ssh list of directories $remotebox:/rpmdir 2>&1 This spits out quite a bit of stuff into a logfile to which the output of the script is is redirected to. Checkout the rsync man page for the options that meet your needs. Bret _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list