[p4] Getting the size of a branch

Roy Smith smith_roy at emc.com
Tue Apr 29 08:56:30 PDT 2008


Something like:

  p4 fstat -Ol ...| grep '^... fileSize'

will get you most of the way there.  Then, sum the sizes with python/ 
perl/awk/whatever.



On Apr 29, 2008, at 10:55 AM, 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
>

-------------------
Roy Smith <smith_roy at emc.com>
Software Guy, EMC Common Management Group
44 South Broadway, 7th floor
White Plains, NY 10601
+1 914 580 3427
AIM: roysmith649


More information about the perforce-user mailing list