-h, --help
Display a help message, and then quit.
-c CONFIG, --config=CONFIG
Config file to use (defaults to /etc/yum.conf).
-a ARCH, --arch=ARCH
Act as if running the specified arch (default: current
arch, note: does not override $releasever. x86_64 is a
superset for i*86.).
--source
Also download .src.rpm files.
-r REPOID, --repoid=REPOID
Specify repo ids to query, can be specified multiple times
(default is all enabled).
-e CACHEDIR, --cachedir CACHEDIR
Directory in which to store metadata.
-t, --tempcache
Use a temp dir for storing/accessing yum-cache.
-d, --delete
Delete local packages no longer present in repository.
-p DESTDIR, --download_path=DESTDIR
Path to download packages to: defaults to current
directory.
--norepopath
Don't add the reponame to the download path. Can only be
used when syncing a single repository (default is to add
the reponame).
-g, --gpgcheck
Remove packages that fail GPG signature checking after
downloading. exit status is '1' if at least one package
was removed.
-u, --urls
Just list urls of what would be downloaded, don't
download.
-l, --plugins
Enable yum plugin support.
-m, --downloadcomps
Also download comps.xml.
--download-metadata
Download all the non-default metadata
-n, --newest-only
Download only newest packages per-repo.
-q, --quiet
Output as little information as possible.
--allow-path-traversal
Allow packages stored outside their repo directory to be
synced. These are packages that are referenced in
metadata by using absolute paths or up-level ".." symbols,
and are normally skipped by reposync
for security reasons.
CAUTION:
Using this option has potential security
implications since, by providing malicious repodata, an
attacker could make reposync
write to arbitrary locations
on the file system that are accessible by the user running
it.