I have checked out few files on the perforce client. I can get the list of those files by command ‘p4 opened’ It gives path in the form of //depot/… like I want to know how this can be converted to path on the local path(I mean client path) So that i can create a batch file to backup those just before end of the Day Thanks In advance Uday
Share
You can use
p4 whereto convert depot filespecs into local filespecs.To parse the output of
p4 wherefrom a Windows batch file, something like the following might help:Note that the body of the for-loop may execute more than once for more complex mappings, such as the ones described in the
p4 wheredocumentation. If you need to handle those, you might need to do more complicated parsing.