<HTML><HEAD><TITLE>P4Web User Guide - Finding Files</TITLE></HEAD><BODY><FONT SIZE=-1><B>P4Web Release 2012.1 User Guide</B></FONT><BR>
<FONT SIZE=-1><B><A HREF="quickstart.html">[Getting Started]</A> <A HREF="howto.html">[How To...]</A> <A HREF="tips.html">[Browser Tips]</A> <A HREF="defs.html">[Glossary]</A> <A HREF="roadmap.html">[Road Map]</A> </B></FONT><BR>
<H3>Finding Files</H3>
<p>
You can use P4Web to find Perforce
<a href="defs.html#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.html#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>
<P>
<HR>
<FONT SIZE=-1><I>
Copyright 2012 <A HREF="http://www.perforce.com">Perforce Software</A>.
All rights reserved.
</I></FONT>
</BODY></HTML>