p4 clients
List all client workspaces currently known to the system.
Syntax
p4 [g-opts] clients [-t] [-u user | --me] [[-e|-E] filter] [-m max] [-S stream] [-a | -s serverID] p4 [g-opts] clients -U
Description
p4 clients lists all the client workspaces known to the Helix Core Server. Each workspace is reported on a single line of the report. The format of each line is:
Client clientname moddate root clientrootdescription
For example:
Client paris 2009/02/19 root /usr/src 'Joe's client'
describes a client workspace named paris
, last modified on
February 19, 2009 with a root of /usr/src
. The description
of the workspace entered in the p4
client
form is Joe’s client
.
Use the -m max
option to limit the output to the
first max
client workspaces.
Use the -e
or -E filter
options to
limit the output to clients whose name matches the
filter
pattern. The -e
option is
case-sensitive, and -E
is case-insensitive. See Examples.
Use the -u user
option to limit the output to
workspaces owned by the named user.
The command p4
workspaces
is an alias for p4
clients
.
Options
|
List all client workspaces, not just workspaces bound to this server. |
|
List only client workspaces matching |
|
List only client workspaces matching |
|
List only the first |
|
List only client workspaces bound to the specified
|
|
List client workspaces associated with the specified stream. |
|
Display the time as well as the date of the last update to the workspace. |
|
List only client workspaces owned by
|
|
Equivalent to |
|
List only client workspaces unloaded with |
|
See Global options. |
Usage Notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required | Command Alias |
---|---|---|---|
N/A |
N/A |
|
p4 workspaces |
The command returns no output if there is no object to report on.
Examples
|
List a maximum of five client workspaces for any type of depot. |
p4 clients -E *Users |
Filters the list to find only client workspaces such as the following: Client p4vBetaUsers 2019/06/25 root /var/log 'Created by maria. '
|
Related Commands
To edit or view a client workspace specification |
|
To see the name of the current client workspace and other useful data |
|
To view a list of Helix Server users |