Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know "list command" -> List directory entries in the repository ... but my problem is i have a large number of repository ... if i want to perform list command to each repository the result is large number of command ...and you must not forget enter the password for each command ... so it hard work and not logical

share|improve this question
up vote 0 down vote accepted

If you have shell access to the server that hosts your repositories (and read permission on the repository directories themselves), you could do something like this:

for i in /parent/path/of/repos/* ; do
    # while not a perfect check for a repository, it's likely
    # right unless you're doing something very weird.
    if [-d "$i"] && [-f "$i/format"] ; then
        svn ls "file://$i"

You can also replace svn ls with svnlook tree, depending on the kind of output you're looking for (svnlook tree produces output similar to that tree).

If you have to access the repositories remotely, you're stuck using the svn command, unfortunately. If you have list of the repositories in, say, a file (or can get the list in a programmatic way, hard to give a concrete example without a better idea of how your Subversion server is configured), you can do do a similar for loop and make use of the --username and --password options to svn.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.