File reporting

The sections below describe commands that provide information about file status and location. The following table lists a few basic and highly-useful reporting commands:

To display this information Use this command

File status, including file type, latest revision number, and other information

p4 files

File revisions from most recent to earliest

p4 filelog

Currently opened files

p4 opened

Preview of p4 sync results

p4 sync -n

Summarize a p4 sync preview, estimate network traffic

p4 sync -N

Currently synced files

p4 have

The contents of specified files

p4 print

The mapping of files' depot locations to the corresponding workspace locations.

p4 where

A list of files and full details about the files

p4 fstat

Also in this section: