www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/08/02:27:55

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 <admin2 AT enabled DOT com>
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
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019