[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: Toby Johnson <toby_at_etjohnson.us>
Date: 2005-05-26 18:49:21 CEST

Blair Zajac wrote:

> 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.

This would work as long as you didn't duplicate any info due to counting
"cheap-copied" folders twice. For example, if your repository is
organized into trunk/branches/tags, running a sum from the repository
root would falsely inflate the actual size of the repository.

---------------------------------------------------------------------
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:52:10 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.