home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / apps / 7928 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  2.9 KB

  1. Xref: sparky comp.os.os2.apps:7928 comp.os.os2.misc:35562
  2. Path: sparky!uunet!stanford.edu!rutgers!cmcl2!RM303.ECON.NYU.EDU!sens
  3. From: sens@FASECON.ECON.NYU.EDU (Sunando Sen)
  4. Newsgroups: comp.os.os2.apps,comp.os.os2.misc
  5. Subject: Re: Port of unix 'find' on OS/2?
  6. Summary: You can do this with the DIR command...
  7. Keywords: find, dir, os/2 is great
  8. Message-ID: <sens.3.721028065@FASECON.ECON.NYU.EDU>
  9. Date: 6 Nov 92 05:34:25 GMT
  10. References: <exujlg.159.0@exu.ericsson.se> <hatton.720779901@cgl.ucsf.edu> <1dcjruINNkeu@travis.csd.harris.com>
  11. Sender: notes@cmcl2.nyu.edu (Notes Person)
  12. Organization: New York University
  13. Lines: 46
  14. Nntp-Posting-Host: rm303.econ.nyu.edu
  15.  
  16. In article <1dcjruINNkeu@travis.csd.harris.com> kbeal@rcx1.ssd.csd.harris.com (Ken Beal) writes:
  17. >From: kbeal@rcx1.ssd.csd.harris.com (Ken Beal)
  18. >Subject: Re: Port of unix 'find' on OS/2?
  19. >Summary: You can do this with the DIR command...
  20. >Keywords: find, dir, os/2 is great
  21. >Date: 6 Nov 92 02:04:46 GMT
  22. >In article <hatton.720779901@cgl.ucsf.edu> hatton@socrates.ucsf.edu (Tom Hatton) writes:
  23. >>exujlg@exu.ericsson.se (Jon L. Gauthier) writes:
  24. >>>I downloaded the GNU file utilities and text utilities a while back from
  25. >>>ftp-os2, but 'find' was not in them.  Does anyone know if this has been
  26. >>>ported to OS/2?  
  27. >>
  28. >>>I desperately need a 32bit version as I have to conditionally search some 
  29. >>>large partitions ( >600MB ) on our Lan Manager net for file maintainance.  
  30. >>>My DOS version chokes when having to search through more than several 
  31. >>>thousand file names!
  32. >>
  33. >>There is a 32-bit file-find for OS/2 that I have used called 'whereis',
  34. >>should be on ftp-os2.nmsu.edu in /pub/os2/2.0/diskutils.
  35. >>
  36. >>Tom
  37. >
  38. >    You can do a find under DOS or OS/2 command line, just by typing,
  39. >"dir /a/s/b \xxxx*" where xxxx is what you want to find.  This only works
  40. >on one drive at a time, but you could write a script to handle more than
  41. >one.  (I notice the original poster says that the DOS version chokes;
  42. >I don't believe this will, but if this is the method being used, then
  43. >I apologize for the bandwidth.)
  44. >--
  45. >Kenneth L. Beal, Jr.            kbeal@amber.ssd.csd.harris.com
  46. >"I'd give my right arm to be ambidextrous!" - MST3k
  47. >"Street person my responsibility." - Indigo Girls
  48. >The opinions expressed above are true.  The preceding sentence is false.
  49.  
  50. There is an OS/2 2.0 version of GNU find (as well as locate!).  It is in a 
  51. file called "GNUFIND.ZIP" (or some such) in the directory /pub/os2/2.0/gnu.  
  52. GNU find was never part of their file utilities package anyway.  I don't 
  53. know how you can use it search many different partitions though, since under 
  54. Unix different partions are mounted as directories.  Would "find / -name 
  55. junk -exec rm {}\;" delete all files named "junk" in all partions?  I have 
  56. only one partion, so I haven't been able to find out.  However, find, locate 
  57. and updatedb all work very nicely under OS/2.  Hope this helps.
  58.  
  59. Regards,
  60.  
  61. Sunando Sen
  62.