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:message-id:date:from:subject:to:content-type; q=dns; s=default; b=HJkLaC+oVAJgGtAP79BBEAf+BwAc0Axx1Dk/7kvspD2 IRb0yQY+sHQzON9mJeZDAUO6db7qlQ0CUT9NMVPNViLv4UM6Mi363ZI+sdqKlIRk bNKjb5JudNqffxQz3C7fO5jmafOxzHRAhs1XmEJr8AA4E6KOpD90X3dr4CAobSZU = 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:message-id:date:from:subject:to:content-type; s=default; bh=SdlUaZdb3xraQ5PH/E61C2YZIVU=; b=XotW8v04CtcLWzrse nbLOgjdHT6TNK2MxmuT29J59RGcShN8R08wusFZS+wFTi2yl+/a8XDRzr71IJDnU c3B9l/Hqm+d2mmvU80mXKR+SFZknEYn3WdY0fDmXItCpK0/lv0HyCT5rhi/JXtts bZmAsr5FbuP1pd+bW4SXWNXfQk= 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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Documents, Prompt, Command, recovery X-HELO: mail-oi1-f170.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:subject:to:user-agent; bh=i+/5ECMoyRtyB+qildt2xdaP8MZMMhb830N5L+fJeE0=; b=sD+Kgj2sKSQiybQsc82qZov93lVDjAAsTslCDrM2inqRrXk0D1LPbT7JH32OQziw4I h0SCuW0NRGZ8H2uKhlsDWWGNu1TD0RwnXzJzvobBWeckqleAYNYkCaCAFKqrikOo2yK/ cQnExoVVI/xx6Vyw+ssDsdHhu9m+7Vk1+jWUHQRyvHFWM986YnnS7H3ZwroEIqgmd21R Lw+pBuuQRNxBA4PN1salJeP6QcwYX8HJFQjB6D63FNfhEM7uvXwmR0pLdqvpO1NkEJhx nfco4cUsTWQvH2jx4Uiis6wGh27aqyPDiKkQVzrvByA7o1+Ttu75pzSWyW5eqmfNeYxp rqCQ== Message-ID: <5c184377.1c69fb81.7df8f.9525@mx.google.com> Date: Mon, 17 Dec 2018 16:46:47 -0800 (PST) From: Steven Penny Subject: Exclude System entries with "ls" or "find" To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.8.0 (cup.github.io/umber/awk/tryst) 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 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 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"? -- 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