1REPOSYNC(1) dnf-plugins-core REPOSYNC(1)
2
3
4
6 reposync - redirecting to DNF reposync Plugin
7
8 Synchronize packages of a remote DNF repository to a local directory.
9
11 dnf reposync [options]
12
14 reposync makes local copies of remote repositories. Packages that are
15 already present in the local directory are not downloaded again.
16
18 -p <download-path>, --download-path=<download-path>
19 Root path under which the downloaded repositories are stored,
20 relative to the current working directory. Defaults to the cur‐
21 rent working directory. Every downloaded repository has a subdi‐
22 rectory named after its ID under this path.
23
24 --download-metadata
25 Download all repository metadata. Downloaded copy is instantly
26 usable as a repository, no need to run createrepo_c on it
27
28 -a <architecture>, --arch=<architecture>
29 Download only packages of given architectures (default is all
30 architectures). Can be used multiple times.
31
32 --source
33 Operate on source packages.
34
35 -m, --downloadcomps
36 Also download comps.xml.
37
38 -n, --newest-only
39 Download only newest packages per-repo.
40
41 --delete
42 Delete local packages no longer present in repository
43
44 --metadata-path
45 Root path under which the downloaded metadata are stored. It
46 defaults to --download-path value if not given.
47
49 See AUTHORS in your Core DNF Plugins distribution
50
52 2014, Red Hat, Licensed under GPLv2+
53
54
55
56
574.0.2.2 May 14, 2019 REPOSYNC(1)