Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Download a file from an SVN repository

Tags:

svn

download

I need to download the files at https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust/ onto my Windows system.

I installed svn for Windows, and tried the command:

svn checkout https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust/ 

It asked for authentication and the log lists a few files but I cannot find them on my pc. Please help.

I do not need to work with svn after this, I just need to download all the files onto my system in one go instead of right click and saving each of them.

like image 223
ame Avatar asked Apr 08 '13 00:04

ame


1 Answers

As @bahrep mentioned, if you don't need to work with svn in the future you want an svn export which will not create a working copy and it's associated files

Before you do the export, check to see if the URL is correct... in a standard svn repository there would be three folders under https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust

To check that do an svn list https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust If you see branches tags and trunk, you're going to need more info, ask whoever gave you the URL if you want the trunk, a certain branch or tag.

Once you sort which branch, tag or trunk you want,from a commandline:

svn export https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust biosignalgroup_wclust

Will export the files to a directory named biosignalgroup_wclust in whatever directory you where in.

like image 76
thekbb Avatar answered Oct 09 '22 01:10

thekbb