cygwin - rsync problem

Marcel Kunath kunathma@pilot.msu.edu
Wed, 10 Oct 2001 23:56:25 -0400 (EDT)


Hello,

I got a weird question. Don't ask why I am doing this. I guess I love to
complicate things. I downloaded cygwin and installed it and rsync on Win98 box.
I am trying to rsync some stuff.

Ok cygwin is installed in c:\cygwin.

I start bash in the bin directory and am in

  $ pwd
  /usr/bin

Hence /usr/bin refers to c:\cygwin\bin.

I create directory c:\cygwin\bin\debian\pool\main.


I store a script written in Notepad in c:\cygwin\bin named rsync.sh:


  #! /bin/sh

  rsync -avz --exclude "*alpha*" --exclude "*arm*" --exclude "*hppa*" --exclude
"*hurd*" \
  --exclude "*ia64*" --exclude "*m68k*" --exclude "*mips*" --exclude
"*powerpc*" \
  --exclude "*s390*" --exclude "*sparc*" --exclude "*_sh*" --exclude
"*.diff.gz" \
  --exclude "*.orig.tar.gz" aurolinux.mit.edu::debian/pool/main/r
/usr/bin/debian/pool/main/


When I execute the script it runs, connects to rsync server and creates all
subdirectories from 'r' directory tree but it never creates any files. Why?


 mk