Perforce Command Reference:   [Index] [Prev] [Next]


p4 where

Synopsis

Show where a particular file is located, as determined by the client view.

Syntax

p4 [g-opts] where [file...]

Description

p4 where uses the client view and client root, as set in p4 client, to print files' locations relative to the top of the depot, relative to the top of the client workspace, and relative to the top of the local OS. The command does not check to see if the file exists; it merely reports where the file would be located if it does exist.

For each file provided as a parameter, a single line is output. Each line has three parts: the first part is the filename expressed in depot syntax; the second part is the filename expressed in client syntax, and the third is the local OS path of the file.

Options

g_opts See global options section.

Usage Notes

Can File Arg Use
Revision Specifier?
Can File Arg
Use Revision Range?
Minimal
Access Level Required
No No none

Related Commands

To list the revisions of files as synced from the depot p4 have



Perforce Command Reference:   [Index] [Prev] [Next]


Copyright 1999 Perforce Software.
Contact us at [email protected]
Last updated: 09/15/99 (Manual version 99.1.cr.6)