[p4] Getting the size of a branch

Stephen Vance steve at vance.com
Tue Apr 29 15:29:52 PDT 2008


p4 -ztag sync -n //mydepot/mybranch/... | head -15 | fgrep totalfilesize

It's from memory, but I'm pretty sure it's correct. The total file size 
is reported along with the information for the first file.

Steve

Jamison, Shawn wrote:
> Howdy everyone,
>
> Is there a way to get the size of a branch from Perforce without having
> to sync the files out to local disk?
>
> Thanks for all your help.
> -Shawn Jamison>
> Ciena Corp.
> Perforce Admin
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>   

-- 
Stephen Vance
www.vance.com


More information about the perforce-user mailing list