^M added to directory structure

Noah admin2 at enabled.com
Mon Sep 8 06:40:19 GMT 2008


Okay this is most likely a windows issue but I am dont know how to
correct the Problem.  Something to do with how windows handled line
feeds and new lines.


I am running rsync as part of cygwin and I see that a '^M' is tacked on
at the end of every directory or a new directory '^M/' is created.  What
do I need to do to make sure the '^M' is no longer tacked on?


Here is a sample line?

#!/bin/sh
/usr/bin/rsync -avz '/cygdrive/c/My Music/' -e ssh
root at 192.168.1.10:/shares/internal/Music/



More information about the rsync mailing list