[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: Anthony Muller <Anthony.Mueller_at_hyperoffice.fr>
Date: 2005-05-26 18:35:47 CEST

Hi Blair,

Thanks for the tip, this will help me.

Regards,
Anthony

-----Message d'origine-----
De : Blair Zajac [mailto:blair@orcaware.com]
Envoyé : jeudi 26 mai 2005 18:00
À : Anthony Muller
Cc : users@subversion.tigris.org
Objet : Re: Repository or folder size ?

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.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion and Orca training and consulting
http://www.orcaware.com/svn/
---------------------------------------------------------------------
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:37:24 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.