From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111409 invoked by alias); 18 Dec 2018 00:46:51 -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 110944 invoked by uid 89); 18 Dec 2018 00:46:51 -0000 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 Received: from mail-oi1-f170.google.com (HELO mail-oi1-f170.google.com) (209.85.167.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Dec 2018 00:46:49 +0000 Received: by mail-oi1-f170.google.com with SMTP id t204so604247oie.7 for ; Mon, 17 Dec 2018 16:46:49 -0800 (PST) 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== Return-Path: Received: from iu7 ([2605:6000:9fc0:56:740d:e24f:8851:5309]) by smtp.gmail.com with ESMTPSA id j5sm11885848otc.54.2018.12.17.16.46.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Dec 2018 16:46:47 -0800 (PST) Message-ID: <5c184377.1c69fb81.7df8f.9525@mx.google.com> Date: Tue, 18 Dec 2018 08:13:00 -0000 From: Steven Penny Subject: Exclude System entries with "ls" or "find" To: cygwin@cygwin.com Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.8.0 (cup.github.io/umber/awk/tryst) X-SW-Source: 2018-12/txt/msg00164.txt.bz2 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