From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.spocom.com (mail.spocom.com [206.63.224.240]) by sourceware.org (Postfix) with ESMTP id 953083858D3C for ; Wed, 18 May 2022 04:04:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 953083858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=spocom.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=spocom.com DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; d=spocom.com; s=mail; h=received:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:x-operating-system :user-agent; b=oWjLJSxYExaC+443A+auG7UvGAdKqoTvtZpd4gbGMAe1F4aL58f2lh8/ulZafHa5T /7SMgHTx849p/SK8zlhvg== Received: from localhost (174-31-98-174.spkn.qwest.net [174.31.98.174]) by mail.spocom.com with SMTP; Tue, 17 May 2022 21:04:26 -0700 Date: Tue, 17 May 2022 21:04:54 -0700 From: Gary Johnson To: cygwin@cygwin.com Subject: Re: Latest versions of cygwin - Paths with spaces Message-ID: <20220518040454.GC11054@phoenix> Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: Linux 2.6.32-74-generic GNU/Linux User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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 04:04:56 -0000 On 2022-05-18, André Bleau wrote: > Hi Giovani. > > Giovani Erthal wrote: > > > 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 > > Wrong space quoting. Try: > > 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" André's quoting is unusual, but it's not wrong. For example: $ cat foo #!/bin/bash for word in "$@" do echo "$word" done $ ./foo one two" "three four one two three four However, I've always seen the C: drive under /cygdrive as /cygdrive/c, with a lower-case c. Regards, Gary