delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.6487.1 |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | RE: using rsync in a sceduled script |
Date: | Fri, 14 Nov 2003 09:27:10 -0800 |
Message-ID: | <407DF7D68DD30440B5CEB70ED234D1CF041BA8B4@excuswa100.americas.unity> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Bakken, Luke" <Luke DOT Bakken AT getronics DOT com> |
To: | "Brendon Baumgartner" <brendon AT brendon DOT com>, <cygwin AT cygwin DOT com> |
X-OriginalArrivalTime: | 14 Nov 2003 17:27:14.0891 (UTC) FILETIME=[8BA179B0:01C3AAD4] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id hAEIRKiZ001493 |
> > Rsync works perfectly everytime from the command line, but > sometimes after > > the rsync operation completes when it is run using a > script/scheduler, I > > get this error and rsync sits running (hung) till I > manually kill it. > > > > rsync error: syntax or usage error (code 1) at /tmp/rsync- > > 2.5.6/main.c(1045) > > > > I logged stdout and stderr from the script, and here is > what it looks > > like: > > receiving file list ... done > > wrote 97 bytes read 1569 bytes 175.37 bytes/sec > > total size is 1441861 speedup is 865.46 > > rsync error: syntax or usage error (code 1) at /tmp/rsync- > > 2.5.6/main.c(1045) > > > > Is it a bug? Is it me? > > > I've fought this for awhile now. I can't figure it out. I > copied the script > to a linux machine and it works flawlessly, same rsync > server. The command > that is the root of all evil (my problem, in cygwin) : > > /usr/bin/rsync -qaz --partial --delete --timeout=4 \ > rsync://server.xyz.com/o/test/ /cygdrive/d/remote/backup.current/o/ rsync doesn't work perfectly with cygwin in some situations. Search the archives for more info. I installed the latest dll snapshot and it seemed to resolve some of the hanging issues I've seen. Luke -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |