local repository server - liamlamth/blog GitHub Wiki
-
https://access.redhat.com/solutions/4011571
rm -f $(repomanage --old <TARGET_DIR>) find <TARGET_DIR> -type f -name \*.rpm | grep -vf <(repomanage --new <TARGET_DIR>) | xargs -I % rm -v % ### For AppStream repository