Mon May 31 21:10:00 GMT 1999
--- "Smith, Ron" <firstname.lastname@example.org> wrote:
> 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
> 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
You're Welcome. If you have further problems paste (not attached) the results
of `cygcheck -s -v -r' in a mail.
"Earnie Boyd" < mailto:email@example.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 firstname.lastname@example.org
More information about the Cygwin