[p4] How to convert "p4 files" depot filepaths to local machinefilepaths?

Ivey, William william_ivey at bmc.com
Thu Feb 15 11:28:18 PST 2007


> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com]On Behalf Of James Edwards
> 
> Hi, I'm trying to write a script to generate a list of local 
> filepaths from the list of depot paths produced by the "p4 
> files" command.  Is there some other p4 command or command 
> option to do this

See if the output of this command helps:

p4 -ztag where <yourfile>

The -ztag option makes the output easy to parse. It's one of
the undocumented options (as documented by p4 undoc :-)

-Wm



More information about the perforce-user mailing list