delorie.com/archives/browse.cgi | search |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=PyqX78FOu/Blx5m9 | |
tyYa9MNObr46usryeRYsumogoGNY99Y2YAWh8GoZe9DsP1/6pCOFXIkYQ1Dgcrna | |
MVoM1v2BilLu89pmzVJc411gaJfmmYqwnV46hzDGX9K1eYaSi+lXgErUlWwmyYaC | |
k3HI5nOzPWXi/xnaMMrL1D+xV0E= | |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=ehBhH5xUtFNL1hoUHbuAKb | |
3IuaY=; b=esuFsu8u85XId4ucb5YZ7TY5SO9eJmkmLAgA/9jkYgevToJDEevboQ | |
p9tZ/V1tBTS1lEJK1UrAVOGUHRnbQbWIz5Ew4I3XPE5iQ2LgKapbIgmCIQtOFCHE | |
yW9sSCbYO2O6a6TI/cVUzm7tqRxiVkZTS+CNFzSbz0pV/b9V1Rx7Y= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*R:D*ca, brian, advised, documents |
X-HELO: | smtp-out-no.shaw.ca |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: Exclude System entries with "ls" or "find" |
To: | cygwin AT cygwin DOT com |
References: | <5c184377 DOT 1c69fb81 DOT 7df8f DOT 9525 AT mx DOT google DOT com> <20181218081347 DOT GD28727 AT calimero DOT vinschen DOT de> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Openpgp: | preference=signencrypt |
Message-ID: | <7831498f-3c06-5810-354e-87c452d3a0e7@SystematicSw.ab.ca> |
Date: | Tue, 18 Dec 2018 22:00:14 -0700 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 |
MIME-Version: | 1.0 |
In-Reply-To: | <20181218081347.GD28727@calimero.vinschen.de> |
X-IsSubscribed: | yes |
On 2018-12-18 01:13, Corinna Vinschen wrote: > On Dec 17 16:46, Steven Penny wrote: >> Compare Cygwin: >> $ 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 >> With Command Prompt: >> > dir /A:-S C: >> 2018-12-08 10:14 AM <DIR> cygwin64 >> 2009-07-13 09:20 PM <DIR> PerfLogs >> 2018-12-15 06:05 PM <DIR> Program Files >> 2018-12-15 05:21 PM <DIR> Program Files (x86) >> 2018-10-31 06:07 PM <DIR> ProgramData >> 2018-11-18 01:10 AM <DIR> Users >> 2018-11-09 08:18 AM <DIR> Windows >> as can be seen, Command Prompt has a way to exclude System items. Does Cygwin >> have some way to do this, perhaps with "ls" or "find"? > You're asking POSIX tools to recognize DOS attributes... Could perhaps be supported as an env option CYGWIN=hidefileswithattributes:[SH]... with a possibility of overriding that and seeing the files (as with . and ..) when ls -a is specified, if SWTDI? Meanwhile CyNWin (no more than CyNUX). -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |