delorie.com/archives/browse.cgi | search |
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 <earnie_boyd AT yahoo DOT com> |
Reply-To: | earnie_boyd AT yahoo DOT com |
Subject: | Re: Please help! |
To: | "Smith, Ron" <rlsmith AT kmg DOT com>, |
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com> | |
MIME-Version: | 1.0 |
--- "Smith, Ron" <rlsmith AT kmg DOT com> 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" <mailto:earnie_boyd AT yahoo DOT com> CYGWIN RELATED HELP: DOCUMENTATION: <http://sourceware.cygnus.com/cygwin/docs.html> DLLHELP: <http://www.xraylith.wisc.edu/~khan/software/gnu-win32/> ARCHIVE SEARCH: <http://www.delorie.com/archives/> OR <http://www.eGroups.com/list/gnu-win32/> _____________________________________________________________ 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |