delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <49D53096.10107@veritech.com> |
Date: | Thu, 02 Apr 2009 17:39:34 -0400 |
From: | "Lee D.Rothstein" <lee AT veritech DOT com> |
Reply-To: | Cygwin Tech List <cygwin AT cygwin DOT com> |
User-Agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
MIME-Version: | 1.0 |
To: | Cygwin Tech List <cygwin AT cygwin DOT com> |
Subject: | 1.7: Problems with 'rsync'. |
X-Bogosity: | Ham, tests=bogofilter, spamicity=0.000000, version=1.0.1 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
I'm having two problems with 'rsync' (over 'ssh'), that are possible pilot error. Here's the portion of the 'bash' script I use to run 'rsync': -- rsync -vcrRt --stats --delete --force --prune-empty-dirs \ --compress --exclude "*.ion *.txt" --human-readable \ --itemize-changes --log-file="$LogFile" -e "ssh -p 8022" \ "${Source}" ${User}@${Host}:html -- I'm running "rsync version 3.0.5 protocol version 30". I would appreciate some feedback on whether anyone else has experience with this. First, and least importantly, each time I run 'rsync' (from the script), I get the following error messages to the screen regardless of whether I'm running 'mintty' or the console as the "terminal". Although it writes the log file correctly each time, the error message disappears if I omit the log file option. -- stty: standard input: Invalid argument stty: standard input: Invalid argument -- Secondly, and most importantly, 'rsync' is copying the entire source directory tree, rather than from the terminating '/' of the source tree specification. This contradicts both my reading of the 'man' page, version: "28 Dec 2008", as well as my prior experience. Is this a bug, or pilot (EBCAK) error? Lee -- 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 |