This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: rsync over ssh hang issue understood
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 26 Apr 2006 18:01:06 +0200
- Subject: Re: rsync over ssh hang issue understood
- References: <444F42B3.90208@baltech.de>
- Reply-to: cygwin at cygwin dot com
On Apr 26 11:51, Peter Keitler wrote:
> For the script to run, a sshd has to started on the local machine and
> the user name has to be adapted within the script. Could some of you
> please run the script twice (the error only occurs when the files
> already exist on the client side) in order to see if the script also hangs?
> [...]
> #!/bin/bash
>
> COMPSERV_USER=peter
> COMPSERV_SERVER=localhost
> RSYNC_PARAMS="--recursive --progress"
>
> # Create large amount of files on the server
> mkdir ~/testdir_clnt
> ssh $COMPSERV_USER@$COMPSERV_SERVER 'mkdir -p ~/testdir_srv; for ((i=0;i<300;i++)) ; do dd if=/dev/random of=~/testdir_srv/file${i}.lst bs=1 count=5000; done'
> # Sync files to client
> rsync -vvvvvvvvvv $RSYNC_PARAMS $COMPSERV_USER@$COMPSERV_SERVER:testdir_srv/* ~/testdir_clnt/
I just tried it a couple of times. http://cygwin.com/acronyms/#WJFFM
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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/