p4 print (graph)

Write a repo file to standard output.

Syntax

p4 print [-o localFile -q -m max] file ...

Description

Retrieve the contents of a repo file to the client's standard output. This command does not sync the workspace with the graph depot. If the file is specified using client syntax, Perforce uses the client view to determine the corresponding repo file.

Options

-m max

Print only the first max files.

-o outfile

Redirect output to the specified output file on the local disk, preserving the same file type, attributes, and/or permission bits as the original file in the depot.

-q

Suppress the one-line file header normally added by Helix Server.