1

I'm looking for a way to get all files of some type (e.g. all .java files) from a repository, without downloading all of the files (so it can be fast). How can it be done?

Evgeny
  • 2,121
  • 1
  • 20
  • 31

2 Answers2

1

You could write a small shell script that parses the output of svn list -R $URL and exports only the relevant files with svn export $URL+PATH+FILENAME.

Hauke Ingmar Schmidt
  • 11,559
  • 1
  • 42
  • 50
0

If you can identify a common subdirectory, why not just checkout that sub-directory?

Edwin Buck
  • 69,361
  • 7
  • 100
  • 138
  • I'm interested in cases where there is no common sub-directory, and the files are spread among hundreds of directories. – Evgeny Feb 05 '12 at 15:58