Bash Script to efficiently reroll patches with mimnimal disk impact