Skip to content

nlegrand/snapdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

snapdl downloads snapshots of OpenBSD -current. It helps you to find where the snapshots are synchronised with the main mirror http://ftp.OpenBSD.org and which mirror is the fastest. It may seem silly, but it's really quite useful to spot fast mirrors and to skip those not synchronised.

It aims to stay bare with only perl core modules as dependencies: I want to be able to fastly copy/past it on any machine and launch it.

Usage

For the first time, launching the interactive mode is the most straightforward way to use snapdl.

$ git clone git://github.com/nlegrand/snapdl.git
$ perl snapdl/snpadl.pl -i

Doc

$ mandoc snapdl/snapdl.1 |less

New features in version 1.3.0-alpha

  • Be non interactive by default.

  • Prevent from redownloading the same snapshots.

  • Set conf from ~/.snapdl/snapdl.conf or command line options.

  • Report all tested mirror as synced, unsynced or timouted with -r.

  • Report packages repository instead of sets with -R.

  • You can change the http/ftp client as long as it has the same -o option as OpenBSD ftp(1). So it's now possible to use snapdl on Linux with curl : snapdl -C curl.

  • The checksum at the end is now launched with Digest::SHA, so it works on Linux, Mac OS X or FreeBSD as on OpenBSD.

Bugs

If you find some don't hesitate to send me a mail at nlegrand@ethelred.fr, or comment on github. It'll be even better with a patch or a git repository from where I can pull :).

TODO

  • clean, debug and document.

  • make interactive questions for version, comment, timeout.

About

download snapshots of OpenBSD -current

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages