X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <48C4C5B1.6000204@enabled.com> Date: Sun, 07 Sep 2008 23:26:57 -0700 From: Noah User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: ^M added to directory structure Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 DOT 168 DOT 1 DOT 10:/shares/internal/Music/ -- 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/