From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by sourceware.org (Postfix) with ESMTPS id 7A2043857405 for ; Wed, 18 May 2022 15:38:17 +0000 (GMT) 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 Received: from [192.168.178.72] ([91.65.247.133]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MWRmF-1oOiRP0eBn-00Xvix for ; Wed, 18 May 2022 17:38:16 +0200 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@cygwin.com References: From: Thomas Wolff In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2022 15:38:19 -0000 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@cygwin.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? >