X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=aXzHT9mxpqlpYp3EyBp3bThZPnKfEjDTiHHTW2cDSezo/6zWTe0yO 1AvlE6WYaYLHfTGW+6QoeBr/jiSFZ5gxPxzSIvQxTphwhcjsmR3/NPb6CVZTQUQD DgGGXamJpbPzDYAl1x9nCydERzXU5XVtxoAH730cUGdrsc3B2jabM4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=CUKwbaebTQhYYG+iOU/boFevSxw=; b=OGeP8zdVLOyCezPGXoiVwCBHIbYT Kb37kmNqDYGHcfk/kF193oAuMYCxGz/BRsOcUMvE+mnBaMv6bCdPIW1qNJsCgboG ozCMBAoQ4FLtS7ym1HyIuOhApJwrAmxz76zNyxiTHso/56fBs2VLCAlP7zFBZUj0 AtEansFlscL1wnI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*F:D*cygwin.com, documents X-HELO: mout.kundenserver.de Date: Tue, 18 Dec 2018 09:13:47 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Exclude System entries with "ls" or "find" Message-ID: <20181218081347.GD28727@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5c184377 DOT 1c69fb81 DOT 7df8f DOT 9525 AT mx DOT google DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="N+qDRRsDvMgizTft" Content-Disposition: inline In-Reply-To: <5c184377.1c69fb81.7df8f.9525@mx.google.com> User-Agent: Mutt/1.9.2 (2017-12-15) --N+qDRRsDvMgizTft Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 17 16:46, Steven Penny wrote: > Compare Cygwin: >=20 > $ ls -1 -N /cygdrive/c > $Recycle.Bin > cygwin64 > Documents and Settings > pagefile.sys > PerfLogs > Program Files > Program Files (x86) > ProgramData > Recovery > System Volume Information > Users > Windows >=20 > With Command Prompt: >=20 > > dir /A:-S C: > 2018-12-08 10:14 AM cygwin64 > 2009-07-13 09:20 PM PerfLogs > 2018-12-15 06:05 PM Program Files > 2018-12-15 05:21 PM Program Files (x86) > 2018-10-31 06:07 PM ProgramData > 2018-11-18 01:10 AM Users > 2018-11-09 08:18 AM Windows >=20 > as can be seen, Command Prompt has a way to exclude System items. Does Cy= gwin > have some way to do this, perhaps with "ls" or "find"? You're asking POSIX tools to recognize DOS attributes... Corinna --=20 Corinna Vinschen Cygwin Maintainer --N+qDRRsDvMgizTft Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlwYrDoACgkQ9TYGna5E T6BSZA/+LxxFmDqR/C7vBoFTxyquC5CFDDgvdNxZVPlpctSKkODupmNcXzr/tOtD PKRw6fkxgauJ1s707dzpfDHi2ONzn4QkuatvcWt/y3cnlpu9GaOGbORvBhn5XrRv d+0soyWuHJJ1klPgzxOUAZ73qLsawhplRZNN2+nezuu9qgPerQ+Wab9ilGsgxL+D 1l55mLHDUUVaemhkDO/i7NrgJYiDCq5VR6SkWfeXuG2ctPqeUOc1O11ZAukX7X2e PQPN7fAT7/JJJHWvT9iVpo5d2orLSDkj1Y8/tmD7FQgPr0VENjztMUXclY5EaexH zXgPRC+kanDoNsnFRUrOEpWGjCMnWkhORzwY5HMqz8snPJI9zlqSYJAJKa6v/UDP fpYWdG/fETCyUk7D0BadtDTUYxOetajYIz58HLEQ9bckQCaTzTvrSNIKzKmjYqAc EPCC+3W5mfilRP4+dPxko8+zWz+jHtDX0kNZuHpDXGu9F4ZsQmKAiQZpu4tntZSt NGGRPRYfTXfzRXVpuO0qbCQej8JANXOgUTWkEMoTGh0P0bEnIish3derO4qRH9Md DkkRqhNsVmFIt/pYswS0rdHv6a24sas1EPhkIgJZRkU4crNXKSeAyhV+zFwcOwMZ kxiDt7VsuBOoq7HuUBohy+Cln+MWsJkeMP6fKebsl5K+v0uWH+I= =aig+ -----END PGP SIGNATURE----- --N+qDRRsDvMgizTft--