go-apt-mirror [options] [MIRROR MIRROR2...]
go-apt-mirror is a console application.
Run it in your shell, or use sudo -u USER
to run it as USER.
If MIRROR
arguments are given, go-apt-mirror updates only the specified
Debian repository mirrors. With no arguments, it updates all mirrors
defined in the configuration file.
go-apt-mirror reads configurations from a TOML file.
The default location is /etc/apt/mirror.toml
.
A sample configuration file is available here.
go-apt-mirror uses HTTP proxy as specified in ProxyFromEnvironment
.
Option | Default | Description |
---|---|---|
-f |
/etc/apt/mirror.toml |
Configurations |
As go-apt-cacher
uses github.com/cybozu-go/well, flags provided by well
is also available.