delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/04/20/03:36:27

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C4113858433
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1681976141;
bh=2hVmlbTv60u9WqkzuYTJFBWDcZvL4xKpFpPI2/3DMmk=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=l4aURlxyOTXSAP0veyqPFm0DTX9yVT65S5iaiKybY7Y1Stt6jbnkluzsmzO+MB6M+
ygzhLTah6QfeR9ZkzOB/Z0zfeaoMC6JGOy3vYiNdecExLzOrpNYPixnj3dk1AxmIc8
ZNRlJkc2tJI+nEdRqH/cSwRj5o+9q3beLIruNJdc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4890F3858D33
X-Yandex-Fwd: 1
Date: Thu, 20 Apr 2023 10:33:41 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <1703630864.20230420103341@yandex.ru>
To: Derek Pagel <Derek DOT Pagel AT infor DOT com>, cygwin AT cygwin DOT com
Subject: Re: Cygwin 'cp' command is still slow after Cygserver is installed
In-Reply-To: <CH2PR02MB602442C7523A119292214E8BE5629@CH2PR02MB6024.namprd02.prod.outlook.com>
References: <CH2PR02MB60249D6F85A8F598606DA331E59A9 AT CH2PR02MB6024 DOT namprd02 DOT prod DOT outlook DOT com>
<CAB8Xom9pDVT8d4FKcv3hngpK-N+TLiihk5eQqJ9YURkmo=gdig AT mail DOT gmail DOT com>
<CH2PR02MB602413EF22D7874353F99FF7E59B9 AT CH2PR02MB6024 DOT namprd02 DOT prod DOT outlook DOT com>
<b7726159-db7a-444f-4809-44ce00929f3f AT Shaw DOT ca>
<CH2PR02MB60245B3795A21F201F62C7F6E5999 AT CH2PR02MB6024 DOT namprd02 DOT prod DOT outlook DOT com>
<fe9e0325-0703-a91d-7142-a73bfbfcf750 AT Shaw DOT ca>
<CH2PR02MB602442C7523A119292214E8BE5629 AT CH2PR02MB6024 DOT namprd02 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, 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 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>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
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 33K7a59W024545

Greetings, Derek Pagel!


> The icalcs command doesn’t work on either and I haven’t been able to get it to work elsewhere either.

> D:\lsenv\law\lsapps\edi\work>icacls "`cygpath -m interchange.20230418091901"
> `cygpath -m interchange.20230418091901: The system cannot find the file specified.
> Successfully processed 0 files; Failed processing 1 files

Stop using ` already. Or at the very least use it properly.
Either

icacls `cygpath -m interchange.20230418091901`

or

icacls "$(cygpath -m interchange.20230418091901)"

> D:\lsenv\law\lsapps\edi\work>icacls "`cygpath -m interchange.20230418091901.tmp"
> `cygpath -m interchange.20230418091901.tmp: The system cannot find the file specified.
> Successfully processed 0 files; Failed processing 1 files

Not to mention, you don't need to cygpath the file in current directory.
Just

icacls "interchange.20230418091901.tmp"

should suffice.


-- 
With best regards,
Andrey Repin
Thursday, April 20, 2023 10:31:55

Sorry for my terrible english...

-- 
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