p4 update

Update a client workspace without overwriting files that have changed since last sync.


p4 [g-opts] update [-L -n -q] [FileSpec[revSpec]]

Syntax conventions


p4 update is an alias for a p4 sync -s.



For scripting purposes, perform the update on a list of valid file arguments in full depot syntax with a valid revision number.


Display the results of the update without actually performing the update. This lets you make sure that the update does what you think it will do before you do it.


Quiet operation: suppress normal output messages. Messages regarding errors or exceptional conditions are not suppressed.


See Global options.

Usage Notes

Can File Arguments Use Revision Specifier? Can File Arguments Use Revision Range? Minimal Access Level Required Command Alias




p4 sync -s

Related Commands

To copy files from the depot to the client workspace

p4 sync