FG
💻 Software

rsync with Cygwin creating weird directories

Fresh7 days ago
Mar 15, 20261598 views
Confidence Score0%
0%

Problem

I'm trying to use rsync to backup data from a local shared drive to a remove server. Both the local machine and the remote server are running Cygwin under Windows XP. I use the following command: rsync -aze ssh --size-only --delete //SharedFolder/dir/subdir user@remoteserver:/cygdrive/c/dir The pro…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: rsync with Cygwin creating weird directories

Low Risk

The problem was that the script file used to run the command was saved in the Windows format with \r\n line separators. That weird character was the carriage return. I saved the file in the unix format with just \n and things are now fine.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment