Created
July 22, 2020 16:10
-
-
Save pavelanni/bc3aba097ffd30647125602f3cba5153 to your computer and use it in GitHub Desktop.
List packages in each RPM repo and store in files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for r in $(dnf repolist | egrep -v "^repo" | awk '{print $1}') ; do dnf repository-packages ${r} list > ${r}.txt ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment