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