The script would work fine for that purpose, just use the “alternative loop” code inside the loop instead of my “rpm finding” code.