#!/bin/bash
D=/data/done-local8/staging
for i in `find . -name \*rpm`; do
	j=${i##*/}
	if [ -e $D/$j ]; then
		if cmp -s $i $D/$j; then
			rm -f $D/$j
		else
			echo Found differing $i $D/$j
		fi
	fi
done
