[p4] getting rid of clients?
steve at vance.com
Mon Nov 20 10:50:01 PST 2006
Create a spec depot. It won't version any already existing clients, but
it will version any that are created or changed.
To version the existing ones, I use this script on Unix. Should also
work on cygwin.
# Preserve clients
for client in `p4 clients | cut -d ' ' -f 2`
p4 client -o $client > $datadir/client.$client
That's a space between the single quotes in the cut command and back
ticks around the block from p4 to -f 2. $datadir is just a directory to
> Does anyone have an idea on how to suggest to my people
> (mostly developers) that 'p4 clients' that are no longer
> used, etc., be removed from the p4 system? Is there a
> suggested method of backup and restoring after the clients
> are removed for the purpose of reducing my depot size?
> perforce-user mailing list - perforce-user at perforce.com
More information about the perforce-user