From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112809 invoked by alias); 18 Dec 2018 08:13:52 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 112791 invoked by uid 89); 18 Dec 2018 08:13:51 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Dec 2018 08:13:50 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MYcy3-1gw2y83o39-00VeXN for ; Tue, 18 Dec 2018 09:13:47 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 0C908A80414; Tue, 18 Dec 2018 09:13:47 +0100 (CET) Date: Tue, 18 Dec 2018 12:58:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Exclude System entries with "ls" or "find" Message-ID: <20181218081347.GD28727@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <5c184377.1c69fb81.7df8f.9525@mx.google.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) X-SW-Source: 2018-12/txt/msg00165.txt.bz2 --N+qDRRsDvMgizTft Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1003 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" Content-length: 833 -----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--