#!/bin/bash
repopath=/root/mirror/data/ablecloud/rocky
for repo in $( dnf repolist --all | awk {'print $1'} )
do
  time dnf reposync --gpgcheck  --repoid=$repo --downloadcom --download-metadata -p $repopath/$repo 2>&1 > $repo.log
done


