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

To search for a depot file:

  1. Navigate to the depot path that you want to search.
    (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.)
  2. Click the radio button next to the Files matching: field.
  3. Enter a pattern to match. You can use these Perforce wildcards:
    * match at a particular directory level
    ... match at any subdirectory level
  4. Click the Filter button.

P4Web appends the pattern you enter to the current path to find the depot files that match. P4Web uses the current client view 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.

Examples

Current path Pattern Matches these files
//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