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: <19990519163203.9448.rocketmail@web126.yahoomail.com> Date: Wed, 19 May 1999 09:32:03 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: Please help! To: "Smith, Ron" , "'cygwin AT sourceware DOT cygnus DOT com'" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- "Smith, Ron" wrote: Hi Ron, > i am trying to duplicate the following command. I am currently using the > U/WIN utilities but I am trying to replace them with cygwin. > > U/Win syntax: > > d:\usr\bin\ksh.exe "find /d/datatools/dumpdata -ctime +10 | xargs ls -la " > > > cygwin syntax: > > C:\CYGNUS\B19\H-i386-cygwin32\bin\bash.exe "find q:\datatools\dumpdata > -ctime +10 | xargs ls -la " > if you "mount" the q: directory like this `mount q:\\ /q' then the syntax for find under bash would be `find /q/datatools/dumpdata -ctime +10 | xargs ls -la'. If you execute the cygwin find under DOS then the syntax would be as you stated it. > I am looking for files older than 10 days so they can be listed. This will > be modified to delete the files. > > I have tried making a mount point out of the q:\datatools\dumpdata but that > didn't seem to help. You must use two \ in order to get it correctly mounted. I.E. mkdir /dumpdata && mount q:\\datatools\\dumpdata /dumpdata > > Thanks! You're Welcome. If you have further problems paste (not attached) the results of `cygcheck -s -v -r' in a mail. === "Earnie Boyd" CYGWIN RELATED HELP: DOCUMENTATION: DLLHELP: ARCHIVE SEARCH: OR _____________________________________________________________ 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