I have two perforce clients (client-a, client-b) that each contain about 40 file specs. They are similar, but each client has several file specs that aren't included in the other. I would like to find the differences between these client specs. Ideally, the output would look something like this...
File specs in client-a and not in client-b:
//depot/dirA/...
//depot/dirG/...
File specs in client-b and not in client-a:
//depot/dirD/...
//depot/dirX/...
It would be nice if I could do something like p4 diff -c client-a -c client-b
but after reading the documentation for p4 diff
and p4 diff2
, this doesn't seem possible. I could resort to writing an awk script, but thought there might be a better solution. Is there an easy way to accomplish this?