Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990520151300.22953.rocketmail@send205.yahoomail.com> Date: Thu, 20 May 1999 08:13:00 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: RE: Please help! To: "Smith, Ron" Cc: cygwin users MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I tried you scenario and it appears to be working. The one thing that I notice is that if the find returns an empty list the ls will display the working directory. You should add a `c' to the switches of the ls command so that you see the ctime rather than modification time. --- "Smith, Ron" wrote: > You were correct. I have tried so many versions they are all over the > place. Does the pipe not work as coded below? I get the list from the > results of the -ctime +14 but then I get a full ls -la listing of the entire > directory. As I said, I am going to change the ls -la to a delete or rm so > I am trying to make sure it works. > > Thanks for your help! > > -----Original Message----- > From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com] > Sent: Wednesday, May 19, 1999 4:22 PM > To: Smith, Ron; 'David Robinow' > Cc: cygwin users > Subject: RE: Please help! > > > --- "Smith, Ron" wrote: > > This is the only way I have been able to get it to work (almost work). I > > can't get the LS command to work. > > > > Q:\datatools\dumpdata>mount > > Device Directory Type Flags > > q: /q native text!=binary > > \\.\tape1: /dev/st1 native text!=binary > > \\.\tape0: /dev/st0 native text!=binary > > \\.\b: /dev/fd1 native text!=binary > > \\.\a: /dev/fd0 native text!=binary > > C: / native text!=binary > > > > Q:\datatools\dumpdata>gfind /q/datatools/dumpdata -ctime +14 > > /q/datatools/dumpdata > > /q/datatools/dumpdata/archive.logs-0.03-05-1999_20.01.41.498-217 > > /q/datatools/dumpdata/control.files-0.03-05-1999_20.00.17.123-220 > > /q/datatools/dumpdata/parm.files-0.03-05-1999_20.01.52.076-210 > > /q/datatools/dumpdata/RBS01.DBF.fn.2-0.03-05-1999_20.00.30.654-163 > > /q/datatools/dumpdata/SYSTEM01.DBF.fn.1-0.03-05-1999_20.00.46.123-68 > > /q/datatools/dumpdata/TEMP01.DBF.fn.3-0.03-05-1999_20.00.58.248-218 > > /q/datatools/dumpdata/TOOL01.DBF.fn.4-0.03-05-1999_20.01.06.779-219 > > /q/datatools/dumpdata/USER01.DBF.fn.5-0.03-05-1999_20.01.15.545-180 > > /q/datatools/dumpdata/XRT01.DBF.fn.6-0.03-05-1999_20.01.23.685-218 > > > > Q:\datatools\dumpdata>gfind /q/datatools/dumpdata -ctime +14 | xargs ls > -la > > Usage: LS [/FrqRdlt1sSvu] [files] > > > -8<- > > You're not getting the cygwin ls.exe. Make sure that the cygwin bin > directory > is first in the PATH environment variable list. > > === > "Earnie Boyd" > CYGWIN RELATED HELP: > DOCUMENTATION: > DLLHELP: > ARCHIVE SEARCH: OR > > _____________________________________________________________ > Do You Yahoo!? > Free instant messaging and more at http://messenger.yahoo.com > _____________________________________________________________ Do You Yahoo!? Free instant messaging and more at http://messenger.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com