delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/18/11:38:56

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7A2043857405
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo.net
Message-ID: <5161338a-4610-131a-960d-e0a708c00323@towo.net>
Date: Wed, 18 May 2022 17:38:34 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Subject: Re: Latest versions of cygwin - Paths with spaces
To: cygwin AT cygwin DOT com
References: <CPXPR80MB5429BCFD2842D9EB569E5F26BBCE9 AT CPXPR80MB5429 DOT lamprd80 DOT prod DOT outlook DOT com>
<CPXPR80MB54295D50A99D41209563A4D3BBD19 AT CPXPR80MB5429 DOT lamprd80 DOT prod DOT outlook DOT com>
From: Thomas Wolff <towo AT towo DOT net>
In-Reply-To: <CPXPR80MB54295D50A99D41209563A4D3BBD19@CPXPR80MB5429.lamprd80.prod.outlook.com>
X-Provags-ID: V03:K1:3aLe/XFBup+JoHKHwXe1sr/cBnMJIy/OEUvG/UnP28lQRzoQKXP
9mwX9vqJRJ+bkaW66bafPDxdXfk92DG0ZpGf4UT0pWhVsllDYti6G8dRWWHHKUvOX7BuOEV
Hx+15Ypm2NhtjnndZPxpxLl4u27WfTxaEF7aYahTc0ssWU12l2e0HG4yz6a3Lnu0JNQpRiT
t+QCkcAuY2b/Het3jkmZw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:+jf+n529bzE=:5J/BDSbWxIiaQgNcbvWdf4
VWx3sk2PxhIUeMUl4kWZOTSsOHtuP4W7RzPBXAHgnbh+531JsdGv9vPjrmoJDSajO042veqIN
g8vupD0zjEOWAY1Hs6//cDeV7MOxWDesXPgOqVx340DKGmnfenJWK+EYCpnJVzCejlHXIiP7S
1pLpVxMJLGMA08AG6apkjcHbhQ0TU6yyYde+VLRV9nY3IHbsgS7wxPde0vc6vfLNzONLPqkMe
j//9ZmAwsAIy1441m95rIxLKPbKHkShGJuGx1wOCcHBWipVEk7W322hfQ3dMTXbPURun4fxAx
E2+NVU3Nqyq22z+Z0KLoPyISAiLsfbWhX6XXLySP6zqs0ocVzDLWcge2KZV6oFPui2XKSU6On
5uCL5Dx6NnsRE2KIZZHKJIByiwRZ7eUAOd2sDkn4/MFmuuSQbLJCl37WpgL1HJeilG6Y6fOGV
QlG2/RyBQSG8c+WQRc8S9BOeIEgY8OkrE7+jvOSGHYQ69F04RSNDqO8knd/6qc1pW5VTRpepY
YRcoK5/9EfPZ1v3xyZBIC7R4gzgIr+FJ9lNRrXWCliknzklPouySxsdyA28vkFvHcz5emsZ3o
AMDJSI1NeiTXQeITp7727eo5recM6Npk7nvxH+TYGGQcB7b8/fnasPp7nr02vgoYRxaL+UpiV
wGm/rFfUmRTujcFtncjkTR85PL6uoRNm/kLI+hpfb/Rd0haKPyD4PMbrjR2+8tjCh/ApijQAg
/1OVJytqypn40JsOTzQySd4AcZi7fW4yC2fsmg==
X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_00, FOREIGN_BODY1,
KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Level: **
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 24IFcuLZ001143


Am 18.05.2022 um 15:24 schrieb Giovani Erthal:
> I'm using the windows terminal.
So you call cygwin rsync directly from the Windows cmd or powershell? 
That is asking for trouble, especially if quoting is involved. You 
should call rsync from a cygwin shell.
>
> Using lowercase for the drive and double quotes between the path produces a different error.
>
> rsync.exe -avz -s --no-perms --no-owner --no-group --chmod=ugo=rw "/cygdrive/c/Users/giova/Downloads/Teste com Espaço" "/cygdrive/c/Users/giova/Downloads/Destino com espaço"
>
> sending incremental file list
> rsync: [sender] change_dir "/cygdrive/c/Users/giova/"/cygdrive/c/Users/giova/Downloads" failed: No such file or directory (2)
> rsync: [Receiver] change_dir#3 "/cygdrive/c/Users/giova/"/cygdrive/c/Users/giova/Downloads" failed: No such file or directory (2)
> rsync error: errors selecting input/output files, dirs (code 3) at main.c(822) [Receiver=3.2.4dev]
> ________________________________
> De: Giovani Erthal
> Enviado: terça-feira, 17 de maio de 2022 21:00
> Para: cygwin AT cygwin DOT com <cygwin AT cygwin DOT com>
> Assunto: Latest versions of cygwin - Paths with spaces
>
> I'm using rsync to perform backups. But I have errors in paths with spaces.
>
> Source: C:\Users\giova\Downloads\Teste com espaço
> Destination: C:\Users\giova\Downloads\Destino com espaço
>
> Command:
>
> rsync.exe -avz -s --no-perms --no-owner --no-group --chmod=ugo=rw /cygdrive/C/Users/giova/Downloads/Teste" "com" "Espaço /cygdrive/C/Users/giova/Downloads/Destino" "com" "espaço
>
> Result:
>
> sending incremental file list
> rsync: link_stat "/cygdrive/C/Users/giova/Downloads/Teste" "com" "Espaço" failed: No such file or directory (2)
>
> sent 18 bytes  received 12 bytes  60.00 bytes/sec
> total size is 0  speedup is 0.00
> rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]
>
> Initially I was using cwrsync 6.2.4 (it has the same problem). Using cwrsync 5.5.0 everything works perfectly.
>
> Now I downloaded cygwin and installed rsync (latest version), but the problem is the same.
>
> How to make this work without using an old version of cygwin?
>


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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