Date: Sat, 14 Jul 2001 08:32:47 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: <freebsd-hubs@FreeBSD.ORG> Subject: Re: rsync problems Message-ID: <7mitgw5rs0.wl@waterblue.imgsrc.co.jp> In-Reply-To: <DBEMKGPNFGOGJHLMDNDJEECKCFAA.mitayai@dreaming.org> References: <20010713124354.P51520-100000@snowcow.cslab.vt.edu> <DBEMKGPNFGOGJHLMDNDJEECKCFAA.mitayai@dreaming.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Sat_Jul_14_08:32:47_2001-1 Content-Type: text/plain; charset=US-ASCII At Fri, 13 Jul 2001 13:04:57 -0400, Mit Rowe wrote: > Mine seems to crap out when the list of files to transfer gets too large. It > may be a diferent issue though... however, if i re-run it until i finally > get at least an entire sync'd archive, from that point on it works fine. I'm using this script because sometimes rsync dies before fully synchronized. I wish ftp-master officially provides cvsup service... -- Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. <kuriyama@FreeBSD.org> // FreeBSD Project --Multipart_Sat_Jul_14_08:32:47_2001-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="ftp-master.sh" Content-Transfer-Encoding: 7bit #!/bin/sh # # $Id: ftp-master.sh,v 1.1 2001/07/09 06:08:44 kuriyama Exp $ DIRS="branches ports releases" RSYNC="/usr/local/bin/rsync -azv --delete" SRC=rsync://ftp-master.FreeBSD.org/FreeBSD DST=/pub/FreeBSD-master EX="" LOG=/proj/ftp-master/log/rsync.log loop() { while ! $*; do echo "Failed, will be tried again after sleeping 60 secs..." date sleep 60 done } for i in ${DIRS}; do { loop ${RSYNC} ${SRC}/${i}/ ${DST}/${i}/; } >> ${LOG} EX="${EX} --exclude /${i}" done { loop ${RSYNC} ${EX} ${SRC}/ ${DST}/; } >> ${LOG} --Multipart_Sat_Jul_14_08:32:47_2001-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mitgw5rs0.wl>