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

Ken Williams ken.williams at thomson.com
Thu Mar 29 10:48:02 PST 2007




On 3/29/07 12:18 PM, "Melissa Kacher" <mkacher at msn.com> wrote:

> You can only delete one client at a time. You have to run "p4 client -d" n
> times to delete n clients. You are only running the command once, with all
> of your clients on the same command line.
> 
> So you need something like:
> for /f %%x in (obsolete_clients_list.txt) do p4 client -d %%x
> But I haven't tested this for syntax correctness.

Or on unix:

 cat obsolete_clients_list.txt | xargs p4 client -d

 -Ken


More information about the perforce-user mailing list