www.delorie.com/gnu/docs/findutils/find_8.html   search  
 
Buy GNU books!


Finding Files

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.1.2 Full Name Patterns

Test: -path pattern
Test: -ipath pattern
True if the entire file name, starting with the command line argument under which the file was found, matches shell pattern pattern. For `-ipath', the match is case-insensitive. To ignore a whole directory tree, use `-prune' rather than checking every file in the tree (see section 2.9 Directories).

Test: -regex expr
Test: -iregex expr
True if the entire file name matches regular expression expr. This is a match on the whole path, not a search. For example, to match a file named `./fubar3', you can use the regular expression `.*bar.' or `.*b.*3', but not `b.*r3'. See section `Syntax of Regular Expressions' in The GNU Emacs Manual, for a description of the syntax of regular expressions. For `-iregex', the match is case-insensitive.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003