home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5200 < prev    next >
Encoding:
Text File  |  1992-12-30  |  957 b   |  30 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!jefouger
  3. From: jefouger@nyx.cs.du.edu (Jim  Fougeron)
  4. Subject: Re: Help using find with wildcards
  5. Message-ID: <1992Dec31.043445.2794@mnemosyne.cs.du.edu>
  6. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  7. Organization: University of Denver, Dept. of Math & Comp. Sci.
  8. References: <1992Dec30.140356.22976@lmpsbbs.comm.mot.com>
  9. Date: Thu, 31 Dec 92 04:34:45 GMT
  10. Lines: 18
  11.  
  12. markn@ssd.comm.mot.com (Mark Nowak) writes:
  13.  
  14. >Anybody know how to find files, directories, etc. when you
  15. >don't know the exact name of the file you're looking for.
  16. >For example, I'm looking for file abcde in some directory
  17. >tree, but the only characters I know for sure are bcd.  Is
  18. >there a wat to use find to locate this file?
  19.  
  20. >I'm thinking of something along the lines of:
  21.  
  22. >find . -name *bcd* -print
  23.  
  24. try:    find . -name \*bcd\* -print
  25.  
  26. >but that doesn't work.
  27.  
  28.  
  29. Jim Fougeron   jefouger@nyx.cs.du.edu
  30.