mtime removing exports Linux

From: P D <pdba1966_at_hotmail.com>
Date: Mon, 22 Aug 2011 09:00:36 -0400
Message-ID: <SNT115-W649175BD0B7BF101CB113ED02F0_at_phx.gbl>


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

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Aug 22 2011 - 08:00:36 CDT

Original text of this message