[p4] p4 -x- flag with client -d?

Geir A. Myrestrand geir.myrestrand at falconstor.com
Thu Mar 29 09:21:05 PST 2007


Barbieri, Ross wrote:
> 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.
> 
>  
> 
> Any thoughts?

My p4 client has no -x argument (you mistook it for xargs maybe?), but I 
can delete clients with the -d argument. You should be able to do this:

cat obsolete_clients_list.txt | xargs p4 client -d


-- 

Geir A. Myrestrand


More information about the perforce-user mailing list