home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / DSKUTL11.ZIP / FIND.MAN < prev    next >
Encoding:
Text File  |  1991-06-29  |  2.4 KB  |  133 lines

  1.      find (local)             Disk Utilities v1.1              find (local)
  2.  
  3. NNAAMMEE 
  4.           find  -  This  program  is used to recursively list files or
  5.      call a command repeatedly for each of the files.  The default  is
  6.      for the program to list out files recursively.  
  7.  
  8.  
  9. SSYYNNOOPPSSIISS 
  10.           find <-adhpqs> [pattern ...] [file ...] [-e command options] 
  11.  
  12.  
  13. EENNVVIIRROONNMMEENNTTSS 
  14.  
  15.           NONE!  
  16.  
  17.  
  18. OOPPTTIIOONNSS 
  19.  
  20.      a  -  List or calculate usage of only files with archive bit set,
  21.      good for incrementals 
  22.  
  23.      d - Don't do operation on directories.  This means  either  don't
  24.      call the command on directories or don't print them out.  
  25.  
  26.      e  -  This  causes  the command to be called many times with each
  27.      file as it's paramter.  If "{}"  is  specified  in  the  "command
  28.      options"  the file name will replace the "{}", otherwise the file
  29.      name is appended onto the end.  
  30.  
  31.      h - Display help.  
  32.  
  33.      p - pattern, copy only  files  matching  the  specified  pattern.
  34.      Multiple  patterns can be specified with multiple p options  (for
  35.      example "-ppp *.c *.h *.bat" would find all  *.c  *.h  and  *.bat
  36.      files).  
  37.  
  38.      q -  Quiet. No information is outputted to the screen.  Sometimes
  39.      handy for the -e option.  
  40.  
  41.      s - skip any files matching specified  pattern.    Multiple  skip
  42.      options can be included also, such as "-sss *.obj *.exe *.map" 
  43.  
  44.  
  45. EEXXAAMMPPLLEESS 
  46.  
  47.           find -d c:\ -e del 
  48.      Delete  all  files  on  the c: drive, while leaving the directory
  49.      structure in place.  
  50.  
  51.           find c:\ | chmode -aI 
  52.      Sets the archive bit on every file on the c: drive.  
  53.  
  54.           find -p myfile.c c:\ -e page {} 
  55.      Search the whole c: drive for myfile.c and view that  file  using
  56.      the page command.  
  57.  
  58.           find -pp *.exe *.com c:\  
  59.      Echo every .exe and .com file on the hard disk.  
  60.  
  61.           find -d c:\turboc\prog -e cp -n {} d:\foo 
  62.      Copy  all  files  under  c:\turboc\prog  without  preserving  the
  63.      directory  structure to d:\foo.  
  64.  
  65.                                       -1-
  66.  
  67.      find (local)             Disk Utilities v1.1              find (local)
  68.  
  69. BBUUGGSS 
  70.  
  71.           None I know of!  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.                                       -2-
  132. !
  133.