apk-tools/doc/apk-fetch.8.scd
Timo Teräs 488b8456f4 doc: fetch: correct --link short option to -l
Seems originally it was indeed -L, but was inadvertently changed
to -l in 2.12_rc1 in options refactoring commit 1d7123d8. Since
already the 2.12-stable uses -l, update just documentation.

fixes #10894
2023-05-02 13:14:20 +03:00

49 lines
1.2 KiB
Markdown

apk-fetch(8)
# NAME
apk fetch - download packages from global repositories to a local directory
# SYNOPSIS
*apk fetch* [<_options_>...] _packages_...
# DESCRIPTION
*apk fetch* downloads the requested packages from the configured package
repositories (see *apk-repositories*(5)) to a local directory. The current
working directory is used as the destination directory unless *-o* is
specified.
# OPTIONS
*--built-after* _TIMESPEC_
Only fetch packages that have buildtime more recent than TIMESPEC.
TIMESPEC can be a "YYYY-MM-DD HH:MM:SS" date, or seconds since epoch.
*-l, --link*
Create hard links if possible.
*-o, --output* _DIR_
Write the downloaded file(s) to _DIR_.
*-R, --recursive*
Fetch packages and all of their dependencies.
*-s, --stdout*
Dump the .apk file(s) to stdout.
*Note*: this option is incompatible with *-o*, *-R*, and the global
*--progress* option.
*-w, --world*
Download packages needed to satisfy _world_. Implies *--recursive*.
*--simulate*
Simulate the requested operation without making any changes.
*Note*: this option is unreliable if needed indexes are not up-to-date
as this omits refresing or downloading of missing indexes.
*--url*
Print the full URL for downloaded packages.