Reposync

From wiki
Revision as of 22:17, 6 December 2022 by Mike (talk | contribs)
Jump to navigationJump to search

RHEL 7: reposync

$ reposync --newest-only --repoid=rhel-7-server-rpms --download_path=/work/www/html/rhel7/main --downloadcomps --download-metadata

RHEL 7: remove old packages

$ rm -f $(repomanage --old rhel7/main/)