Using wget to download from svn (subversion)

Well sometimes you could need to download software that it is available just for svn checkouts, without having or using any svn client.

For example I’m on a machine where I cannot install subversion but I have wget wich, at the end, it is just a normal http client just like a browser or subversion itself, without all the svn-related stuff (checkin, checkout, lock, etc.).

Anyway let’s play with a concrete example from real life:
I want to download this checklist management software in php but it is not available as a compressed archive, it is just available from google code svn, as the project page states:

Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout checklist-082-read-only

thus, right after opening a new shell, what i’ve done was creating a folder for this software (I’m on my mac, but these commands, will work on every linux box until wget is available.), then cd into the new created dir, and then download with wget, as follows

mkdir flat_checklist
cd flat_checklist/
wget -r

now you should see several download made by wget, this because we used the -r switch wich enables the recursion, wich follows any link (I can’t recall how many levels deep it goes, or if we need to specify some unless we want all levels to be recursed… just check on wget man page).

This will end up with a new folder called “” and then inside the folder you will find all the trunk contents still warm 🙂

Et voil 

(Visited 5,373 times, 1 visits today)

Author: Giuseppe Urso

Giuseppe lives in Haarlem now with his shiny dog, Filippa In 1982 received his first home computer, a Commodore 64, followed by Datasette and a 1541 Floppy Disk Drive. In 1999 he installed his first Linux distro (LRH6). In 2006 he switched to Debian as favourite OS. Giuseppe Urso actively sustains the Free Software Fundation and his founder Richard Mattew Stallman, he speaks to people trying to convince them to join the fight now, and about how important is to use Free Software only. He has a job as Infra Specialist at Hippo Enterprise Java Cms an Open Source Enterprise class Content Management System, one of the coolest company ever, in Amsterdam. He's always ready to install Debian on other people computers for free.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.