Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2026.1

# p4 update

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

## Syntax

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

Syntax and naming conventions

## Description

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

## Options

Option | Description
--- | ---
`-L` | For scripting purposes, perform the update on a list of valid file arguments in full depot syntax with a valid revision number.
`-n` | 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.
`-q` | Quiet operation: suppress normal output messages. Messages regarding errors or exceptional conditions are not suppressed.
`g-opts` | See Global options.

## Usage Notes

Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required | Command Alias
--- | --- | --- | ---
Yes | Yes | `read` | p4 sync `-s`

## Related commands

To copy files from the depot to the client workspace | `p4 sync`

Your search for returned results