#!/bin/bash

#
# Remove temp files left by the daily rsync processes.
#
for serial in `ls /home/|grep "[0-9]\{5\}"|grep -v ^n`
do
	if [ -d "/home/$serial/.tmp/" ]
	then
		find /home/$serial/.tmp -type f|xargs rm -f -v 
	fi
done
