File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ # dnf reposync
2+
3+ > Synchronize packages and metadata of a remote DNF repository to a local directory.
4+ > Not default to ` dnf ` but supported via ` dnf-plugins-core ` .
5+ > See also: ` dnf ` .
6+ > More information: < https://dnf-plugins-core.readthedocs.io/en/latest/reposync.html > .
7+
8+ - Synchronize all packages from the repository with id ` repo_name ` to a subdirectory ` repo_name ` of the current working directory:
9+
10+ ` dnf reposync --repoid {{repo_name}} `
11+
12+ - Synchronize all packages and define a custom save location:
13+
14+ ` dnf reposync --repoid {{repo_name}} {{[-p|--download-path]}} {{path/to/directory}} `
15+
16+ - Synchronize all packages and metadata:
17+
18+ ` dnf reposync --repoid {{repo_name}} --download-metadata `
19+
20+ - Download only newest packages per-repo:
21+
22+ ` dnf reposync --repoid {{repo_name}} {{[-n|--newest-only]}} `
23+
24+ - Just print URLs of what would be downloaded, don’t download:
25+
26+ ` dnf reposync --repoid {{repo_name}} {{[-u|--urls]}} `
27+
28+ - Try to set the timestamps of the downloaded files to those on the remote side:
29+
30+ ` dnf reposync --repoid {{repo_name}} --remote-time `
You can’t perform that action at this time.
0 commit comments