I only want to keep one copy of an export on the server. I have got this in a script on a Linux RHEL5 server. It saves 3 days though instead of 1 and even if I put mtime 0 it still saves more than one. What is wrong with it? find $EXPORT_DIR -name "*" -mtime +1 -exec rm -rf {} \; > /dev/null