P4Web Release 2002.2 User Guide
[Getting Started]  [How To...]  [Browser Tips]  [Glossary]  [Road Map]  

Finding Files

You can use P4Web to find Perforce depot files whose names and/or paths match a pattern you specify.

First, use the Path Browser to navigate to the depot path in which you'd like to search. (You can search from the root of the depot tree, but if your depots are very large you'll reduce the work the Perforce Server has to do for you by running your search from a lower-level path.)

Next, use the Show->Files matching command in the control panel to enter a pattern to match. You can use these Perforce wildcards:

* match at a particular directory level
... match at any subdirectory level

P4Web appends the pattern you enter to the current path to find the depot files that match. If you're in workspace browsing mode, P4Web uses the current client view mapping to find depot files. Note that P4Web looks for the depot files that match the pattern; it doesn't scan your actual workspace. When it finds files, P4Web shows their depot location, not their workspace location. To find out where a particular file is located in your workspace, click on the filename to go to its File Browser page.

Examples

Current path Pattern Could find
//depot/project/titan/ *.html //depot/project/titan/index.html
//depot/project/titan/test.html
//depot/project/titan/ .../*.html //depot/project/titan/index.html
//depot/project/titan/test.html
//depot/project/titan/install/index.html
//depot/project/titan/install/tips.html
//depot/project/titan/userguide/contents.html
c:\myworkspace\titan\docs\ *.html //depot/project/titan/index.html
//depot/project/titan/test.html


Copyright 2002 Perforce Software. All rights reserved.