home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 378.lha / MFind_v1.2 / MFind.doc < prev    next >
Text File  |  1980-02-02  |  2KB  |  45 lines

  1. MFind - a wildcard using, recursive, FIND utility
  2.  
  3. v1.2 - by Greg Browne 3/17/90 - written in Modula-2 {TDI 3.01a}
  4.  
  5. USAGE: MFind <filename> [path] [+hsparwed] [-hsparwed]
  6.                 |          |       |            |
  7.              required      +----optional--------+   <-options in any order
  8.  
  9.          Display all occurrances of <filename>
  10.          [path] = path to search / no path = current dir
  11.          [+-bits] = search for all matching pattern AND flag bits.
  12.                     + means set - means clear [HSPARWED]
  13.                     one + group and/or one - group allowed
  14.          i.e.
  15.            MFind #? -a   (list modified files [Archive bit clear])
  16.            MFind #? dh0: +d (list all delete protected files on dh0:)
  17.            MFind #?inv#? -s (find all scripts with "inv" in the name)
  18.  
  19.          MUST have ARP.LIBRARY
  20.  
  21.          Recursive search of all lower trees, accepts all ARP wildcards
  22.  
  23. The 'filename' is not optional, and may NOT contain a PATH, but may contain
  24. wildcards.  It MUST be the first argument.
  25.  
  26. The 'path' is optional and if present specifies the base path to begin the
  27. search.  If not specified, the current CLI directory is the base.
  28.  
  29. The '+bits' and '-bits' items are also optional, and if present, a file must
  30. match ALL indicated bits AS WELL AS THE PATTERN to be selected.  Only one
  31. group of + and/or one group of - bits may be given.  So, to test for all
  32. delete protected programs which have been modified and are NOT scripts,
  33. you could use  +d -as (note the grouping of 'a' and 's').
  34.  
  35. The options may appear in any order AFTER the match pattern.
  36.  
  37. This allows both #? and * wildcards to be used OR exact match searching.
  38. It is NOT case sensitive, however, so "MFind" "mFiND" and "MFIND" are all
  39. viewed as the same.  This requires the Arp.library to be accessible.  If
  40. you don't have it in the libs: directory, you should.
  41.  
  42. Ctrl-C (^C) is active.  Output (normally screen) is redirectible with >
  43.  
  44. (Thanks Joergen Thompsen (sp?) for your suggestion about the bits).
  45.