I have a directory structure in svn like this:
- Project A
- branches
- tags
- trunk
- Project B
- branches
- tags
- trunk
...
I want to checkout only trunk directories for all these projects. There are about 400 of these kind of projects so checking out trunk manually won't be an option.
My first guess would be to use svn list, but my shell scripting skills are not up to par and I'm sure how to create the appropriate directories and append 'trunk' and do a checkout.
Anyone willing to point me in the right direction?
TL:DR;
- svn list produces something like 'project_a'.
- I want to checkout 'project_a/trunk' into 'project_a'.