[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Repository or folder size ?

From: Blair Zajac <blair_at_orcaware.com>
Date: 2005-05-26 18:00:18 CEST

Anthony Muller wrote:
> Hello,
> Does a Subversion command exist to get the size of the remote repository
> or a particular folder of the repository? (Without checkout whole
> content)
> Regards,
> Anthony

Hi Anthony,

No, not on a entire or even a folder basis currently. You could pipe
the output of

svn list -Rv $URL

to a summing program and get the file sizes and sum them up.

The only problem is that directories do not get a column output, so you
can't use a awk or print that one column, instead you'd have to use cut
and pick from column X to Y.


Blair Zajac, Ph.D.
Subversion and Orca training and consulting
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 26 18:02:23 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.