echo `date` >> errata.log echo `date` >> new.log mv *debuginfo*.rpm ../../../archive/debuginfo/ for i in *.rpm do if [ -f ../../SL/$i ] ; then echo "Already have $i in SL/RPMS, so deleting it." rm $i continue fi if [ -f ../../../archive/obsolete/$i ] ; then echo "Already have $i in obsolete, so deleting it." rm $i continue fi echo "" echo "Next rpm is --> $i " echo "Is it ok, if so then enter search string, otherwise press return" read stuff if [ -z $stuff ] ; then continue else sh movethemin.sh "${stuff}*" $i fi done