> Many years ago I used a program named "mirror" that would copy the
> contents of a FTP server.
I have a script which runs lftp:
/usr/local/bin/lftp -c "set ftp:list-options -a; open $FTPURL; cd $RCD;
mirror ${MIRROROPT} ${VERBOSEOPT} $DELETE ${FTPOPTIONS}"
where ${MIRROROPT} is "" or "-R" (reverse),
${DELETE} is "" or "--delete"
and, in the example I just looked at,
FTPOPTIONS='--exclude-glob logs/ --exclude-glob *.LCK --exclude-glob .svn/'
Regards
Peter
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main