dist-sync
Simple python program to keep (rpm-based) distribution packages/files locally up to date. Requires dnf-plugins-core > 3.0.1 (or backported --downloadcomps functionality)
usage: dist-sync [-h] [-v] [--cleanup] [--commit] [--reposync] [--rsync]
[--nocreaterepo]
PATH [PATH ...]
positional arguments:
PATH RPM distribution directory
optional arguments:
-h, --help show this help message and exit
-v, --verbose print progress information
--cleanup remove files that has disappeared from remote repository
--commit move updated files to active location
--reposync Run rsync actions as well as reposync
--rsync Run rsync actions as well as reposync
--nocreaterepo Skip createrepo