[p4] List of clients owned by user and p4 users (short) commands?

Robert Cowham robert at vaccaperna.co.uk
Thu Jul 6 10:49:08 PDT 2006


You don't mention your OS. On Windows with Unxutils.sf.net installed:

C:\bruno_ws>p4 -ztag clients | grep -E "client|Owner"
... client black
... Owner seiwald
... client black-nt
... Owner Administrator
... client bruno_ws
... Owner bruno
... client camelot
... Owner perforce
... client cinnamon
... Owner seiwald
... client cinnamon-beos
... Owner seiwald
... client cinnamon-mach
... Owner seiwald
... client computer
... Owner seiwald

Robert 

> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Chris Weiss
> Sent: 06 July 2006 00:20
> To: Perforce Users
> Subject: [p4] List of clients owned by user and p4 users 
> (short) commands?
> 
> I'm trying to automate P4 user management and there's a few 
> things I'd like to be able to do from the command line that 
> I'm not finding:
> 
> #1 - Get a list of clients belonging to a particular user (I 
> would have thought "p4 clients username" would have worked)
> 
> #2 - Get a short-form list of all users on a server (p4 users 
> dumps a lot of extraneous info).
> 
> #2 is easy to work around, but I thought I'd ask.
> 
> --
> -Chris



More information about the perforce-user mailing list