Display a list of depots known to the Perforce versioning service.
p4 [g-opts] depots [--depot-type=type]
Display a list of depots.
If a depot is excluded in the protections table for a given user, that user does not see the depot in the output of this command.
Operator
users can run this command. (To learn about
operator
users, see the p4
user
usage notes.)
|
See Global Options. |
|
List only the depots of the specified type |
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
N/A |
N/A |
|
To list the depots of all types:
p4 depots
To list the depots of a specific type:
p4 depots --depot-type=remote p4 depots --depot-type=local p4 depots --depot-type=streams p4 depots --depot-type=spec p4 depots --depot-type=archive p4 depots --depot-type=graph
To create a remote depot or a new local depot |
|
To remove all traces of a file from a depot |