[tex-live] Rsync, a different question

George N. White III gnwiii at gmail.com
Sun Nov 9 13:03:53 CET 2008


On Fri, Nov 7, 2008 at 2:25 PM, Manuel Pégourié-Gonnard <mpg at elzevir.fr> wrote:
> Norbert Preining a écrit :
>> On Unix one would use
>>       for i in 1 2 3 4 5 ; do
>>         rsync ...
>>       done
>
> Maybe something more like
>
> while ! rsync ... ; do; done;
>
> (probably not the correct syntax, but the idea is to retry iff rsync
> exited with a non-zero status).

In my experience, simply retrying the same site rarely works, so a better
approach might be to use a list of different CTAN mirrors.  If they
all fail then
you have a serious network problem, so looping may not be much help.

-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia


More information about the tex-live mailing list