for f in *.$PRODUCED; do
ORIGINAL=${f/.$PRODUCED/.$SOURCE}
if [ -f "${ORIGINAL}" ]; then
- if [ "${f}" -nt "${ORIGINAL}" ]; then
+ # if [ "${f}" -nt "${ORIGINAL}" ]; then
echo "Moving file $f to ${TRASH} ($ORIGINAL exists)"
mv $f ${TRASH}
- else
- echo "File $f is older than $ORIGINAL. Keeping both."
- fi
+ # else
+ # echo "File $f is older than $ORIGINAL. Keeping both."
+ # fi
fi
done
done