← mirrortools
MIRRORQ(1) General Commands Manual MIRRORQ(1)

mirrorq — enqueue URLs into the mirrord background daemon queue

mirrorq [-c config] [-s socket] [-d dest] [-q] [url ...]

mirrorq [-h | -v]

mirrorq submits one or more URLs into the mirrord(1) background queue for automatic downloading.

URLs may be passed as positional arguments on the command line, read from standard input (one URL per line) when standard input is piped or redirected from a file, or both. Empty lines and lines beginning with ‘#’ are ignored.

For each URL, mirrord(1) automatically detects the appropriate download method (archiveorg, ftp, git, gopher, groupsio, http, rsync, or sourceforge) and mirrors into the configured destination directory.

The flags are:

, -config path
Configuration file to read. The default is ~/.config/mirrortools/config.toml or $MIRROR_CONFIG.
, -socket path
Path to the mirrord(1) Unix domain socket. The default is $XDG_RUNTIME_DIR/mirrortools/mirrord.sock, ~/.local/state/mirrortools/mirrord.sock, or $MIRRORD_SOCKET.
, -dest dir
Override the destination directory for the enqueued jobs.
, -quiet
Suppress progress and confirmation messages; only errors are printed.
, -version
Print the program version and exit.
, -help
Print usage information and exit.

The mirrorq utility exits 0 on success, and >0 if an error occurs.

Enqueue URLs passed as command-line arguments:

$ mirrorq https://sourceforge.net/projects/fsd-amoeba/ https://archive.org/details/nasa-audio

Pipe a file containing a list of URLs (one per line) into mirrorq:

$ cat urls.txt | mirrorq

Redirect standard input directly:

$ mirrorq < urls.txt

Override destination directory and suppress confirmation output:

$ mirrorq -q -d /mnt/backups/archive https://archive.org/details/nasa-audio

mirror(1), mirrord(1)

November 4, 2026 Ubuntu