REPOSYNC(1) | dnf-plugins-core | REPOSYNC(1) |
NAME¶
reposync - redirecting to DNF reposync Plugin
Synchronize packages of a remote DNF repository to a local directory.
SYNOPSIS¶
dnf reposync [options]
DESCRIPTION¶
reposync makes local copies of remote repositories. Packages that are already present in the local directory are not downloaded again.
OPTIONS¶
- -p <download-path>, --download-path=<download-path>
- Root path under which the downloaded repositories are stored, relative to the current working directory. Defaults to the current working directory. Every downloaded repository has a subdirectory named after its ID under this path.
- --download-metadata
- Download all repository metadata. Downloaded copy is instantly usable as a repository, no need to run createrepo_c on it
- -a <architecture>, --arch=<architecture>
- Download only packages of given architectures (default is all architectures). Can be used multiple times.
- --source
- Operate on source packages.
- -m, --downloadcomps
- Also download comps.xml.
- -n, --newest-only
- Download only newest packages per-repo.
- --delete
- Delete local packages no longer present in repository
- --metadata-path
- Root path under which the downloaded metadata are stored. It defaults to --download-path value if not given.
AUTHOR¶
See AUTHORS in your Core DNF Plugins distribution
COPYRIGHT¶
2014, Red Hat, Licensed under GPLv2+
April 15, 2021 | 4.0.2.2 |