Phil for Humanity Phil for Humanity
A Guide for the Survival of Humankind and Helping the World, Society, and Yourself.



Perforce Client


To edit a workspace or client, including the client spec, use this command:

p4 client

By default, this command will edit the current workspace or client.

If you want to edit a different workspace or client that you are not in, then use this command:

p4 client client_name

If you want to send this information to a file, then use this command

p4 client -o client_namefilename.txt

To create a workspace or client, then use this command

p4 client new_client_name

Be prepared to manually enter at least the client's root directory and client spec.  I have not found a way to automate this process at this time.

Finally, to delete a workspace or client, use this command

p4 client -d client_name



by Phil for Humanity
on 20110728

Related Articles
 » Basic Perforce Commands
 » Perforce Sync
 » Perforce Print