Re: how do i get the number of files in the repository ?
From: B. Smith-Mannschott <benpsm_at_gmail.com>
Date: 2007-07-02 12:03:11 CEST
On 7/2/07, Udo Schmiedeskamp <dexxus@gmail.com> wrote:
What do you mean by "how many files"?
Assuming HEAD, under linux, at the command line, I'd do this:
# for the number of directories (which svn ls lists with a terminating /
$ svn ls -R svn://SERVER/REPOSITORY | egrep '/$' | wc -l
# for the number of things that are not directories (files)
$ svn ls -R svn://SERVER/REPOSITORY | egrep -v '/$' | wc -l
Windows: I don't know how I would accomplish this under windows (apart
// ben
---------------------------------------------------------------------
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.