[p4] p4 -x- flag with client -d?
Ivey, William
william_ivey at bmc.com
Thu Mar 29 09:49:43 PST 2007
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com]On Behalf Of Barbieri, Ross
>
> I am trying to delete a batch of obsolete clients, but I can't use the
> -x flag as I would expect:
>
> p4 -x obsolete_clients_list.txt client -d
>
> cat obsolete_clients_list.txt | p4 -x- client -d
>
> both give a usage error for the client command.
I believe the problem is either that -x just doesn't
work with the client command, or because client only
allows one argument it can't process your list.
You could use a script or xargs to invoke the client
command repeatedly with one argument at a time.
-Wm
More information about the perforce-user
mailing list