Home
heviosso
03 May 2007 @ 03:01 am
Doing
$ gawk 'BEGIN {
        url = "http://repository.maemo.org"
}
/^Directory: / {
        dir = $2
}       
/^Files:/ {
        getline;
        while ($0) {
                printf "wget '%s/%s/%s'\n", url, dir, $3;
                getline;
                if (substr($0, 0, 1) != " ")
                        break;
        }
}' < Sources | sh

at home saves some of that expensive external corporate traffic, BWAHAHA! [info]sighup, watch and learn.

P.S. Dearest gentoo users: this is how you might go about downloading debian-style repos in aptless systems.
 
 
Mood: sleepy