cygwin - rsync problem

Marcel Kunath kunathma@pilot.msu.edu
Thu, 11 Oct 2001 22:44:00 -0400 (EDT)


I can't figure it out. I wrote the script up in vi on Linux and it worked. I
copied it over to windows and it always stops and hangs after the rxvt
directory.

I went and wrote up a pure dos "edit" file and it didn't have more success. I
had to install wget from cygwin to get vim to work from cygwin due to a
cygintl.dll dependency. I wrote up vim cygwin script and it stopped at xrvt as
well.

I even just used dos prompt to run

c:\cygwin\bin > rsync -av auro......... c:\cygwin\.....

and same problem.

I reinstalled rsync with dos format text style default and it ain't helping.
What a headache....

mk
> > > >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?
>
>
> I'm not sure.  It works OK for me, though I used `vim` to copy your script,
> which might make the difference..?  I've noticed, anyway, that if I use
> notepad.exe to open a script I wrote with vim or emacs in a Cygwin shell or
> rxvt that those editors only use \n and notepad uses \n\r.  I don't know
> why that would affect your situation, and I'm not convinced that it is, but
> that's the only difference I can see between the way you did it and the way
> I did it.  I'm running 1.3.3/latest.
>
> PaulM
>
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>


--
Marcel Kunath

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

 Montie House Network            Greater Lansing Linux Users Group
  http://www.montiehouse.com      http://www.gllug.org

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*