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

use svn list to show only directories

From: mike nicholaides <mike.nicholaides_at_gmail.com>
Date: 2006-05-26 16:45:40 CEST

Hey guys,

I have a repo with 9500 files and 2300 directories. I want to get a
list of the just the directories. I know how to use svn list with a
filter for file name extensions (like svn list *.html), but I don't
know how to do a filter that matches just directories.

I've tried doing just "svn list --recursive", and then filtering out
the directories, but subversion takes far too long to do that. Would
listing just the directories actually be quicker, like I'm hoping?

Also, I want to avoid using svnlook to do this, because according to
the documentation, you can only use svnlook with a file:// URL.

Any suggestions?

Received on Fri May 26 16:48:05 2006

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.