<TITLE>Finding Files</TITLE>
<p>
You can use P4Web to find Perforce
<a href="defs?help#depot">depot</a> files whose names and/or paths
match a pattern you specify.
<p>
<b>To search for a depot file:</b>
<ol>
  <li>Navigate to the depot path that you want to search. <br>
    (You can search from the root of the depot tree, but if your depots are very 
    large, you can reduce server workload by running your search from a lower-level 
    path.) 
  <li>Click the radio button next to the <b>Files matching:</b> field.
  <li>Enter a pattern to match. You can use these Perforce wildcards: 
    <blockquote>
<table cellspacing=5 bgcolor=#eeeeee border=0><tr>
<td><b><font size=+2>*</font></b></td>
<td>match at a particular directory level</td>
</tr><tr>
<td><b><font size=+2>...</font></b></td>
<td>match at any subdirectory level</td>
</tr></table>
</blockquote>
  <li>Click the <b>Filter</b> button. 
</ol>
<p> P4Web appends the pattern you enter to the current path to find the depot 
  files that match. P4Web uses the current <a href="defs?help#clientview">client 
  view</a> mapping to find depot files. P4Web looks for the depot files that match 
  the pattern; it doesn't scan your workspace. When it finds files, P4Web displays 
  their depot location, not their workspace location. To find out where a particular 
  file is located in your workspace, click on the name of that file. 
<h4>Examples</h4>
<p>
<blockquote>
  <table cellspacing=5 cellpadding=5 bgcolor=#eeeeee border=0>
    <tr> 
      <td><b>Current path</b></td>
      <td><b>Pattern</b></td>
      <td><b>Matches these files</b></td>
    </tr>
    <tr> 
      <td valign=top><tt>//depot/project/titan/</tt></td>
      <td valign=top><tt>*.html</tt></td>
      <td valign=top><tt> //depot/project/titan/index.html<br>
        //depot/project/titan/test.html </tt></td>
    </tr>
    <tr> 
      <td valign=top><tt>//depot/project/titan/</tt></td>
      <td valign=top><tt>.../*.html</tt></td>
      <td valign=top><tt> //depot/project/titan/index.html<br>
        //depot/project/titan/test.html<br>
        //depot/project/titan/install/index.html<br>
        //depot/project/titan/install/tips.html<br>
        //depot/project/titan/userguide/contents.html<br>
        </tt></td>
    </tr>
    <tr> 
      <td valign=top><tt>c:\myworkspace\titan\docs\</tt></td>
      <td valign=top><tt>*.html</tt></td>
      <td valign=top><tt> //depot/project/titan/index.html<br>
        //depot/project/titan/test.html </tt></td>
    </tr>
  </table>
</blockquote>
                    | # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 12234 | Matt Attaway | Rejigger P4Web project in preparation for official sunsetting The bin directory contains the last official builds of P4Web from the Perforce download site. P4Web is soon to be completely sunsetted; these builds are here for folks who don't want to build their own. To better handle the archived builds the source code has been moved into a separate src directory. | ||
| //guest/perforce_software/p4web/Help/findfiles.html | |||||
| #1 | 8914 | Matt Attaway | Initial add of the P4Web source code | ||