delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/17/18:37:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Authentication-Warning: shell-3.enteract.com: fcy set sender to fred AT ontosys DOT com using -f
Date: Thu, 17 May 2001 17:36:33 -0500
From: Fred Yankowski <fred AT ontosys DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: What is the secret to locating files with the 'archive' bit set using 'find'?
Message-ID: <20010517173633.A60150@enteract.com>
References: <20010517144523 DOT B92 AT BOEKHOFF_M> <3B04D4E6 DOT 11782 DOT EE35A3B AT localhost>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B04D4E6.11782.EE35A3B@localhost>; from craig@rhe.com.au on Fri, May 18, 2001 at 07:53:10AM +1000

And here's another way:

	find . | xargs -l1 attrib | egrep '^A' | cut -c12-


> On 17 May 2001, at 14:45, malcolm.boekhoff wrote:
> > Does anyone know whether there is a secret test that can be made to
> > enable the "find" command to locate files on an NTFS disk that have
> > the "archive" bit set?

-- 
Fred Yankowski           fred AT OntoSys DOT com      tel: +1.630.879.1312
Principal Consultant     www.OntoSys.com       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019