Svn Checkout Directories only

project/
β”œβ”€β”€ dir1
β”‚   └── subdir1
β”‚       β”œβ”€β”€ file1
β”‚       β”œβ”€β”€ file2
β”‚       └── file3
β”œβ”€β”€ dir2
β”‚   β”œβ”€β”€ subdir1
β”‚   └── subdir2
└── dir3
    β”œβ”€β”€ subdir1
    β”‚   β”œβ”€β”€ file1
    β”‚   └── file2
    └── subdir2

Checkout all directories only on the root of the repo

svn co --depth immediates http://svn.xxx.com/project .

This would checkout the empty directories dir1, dir2, dir3

Get another level of the directories

This would update all subdirectories under dir2, i.e. dir2/subdir1 and dir2/subdir2

Get all of the contents inside dir3

This would update all subdirectories and files under dir3 recursively

List folder with depth

List immediates folder

List folder recursively

Reference

Last updated

Was this helpful?