find -mmin isn't working
Ben Kevan
ben.kevan at gmail.com
Wed Feb 11 23:17:53 UTC 2009
Here is my predicament:
find file.xml -exec ls -l {} \;
-rw-r--r-- 1 user group 835201 Feb 11 14:49 file.xml
date -r file.xml
Wed Feb 11 14:49:21 PST 2009
find file.xml -mmin 40 -exec ls -l {} \;
date
Wed Feb 11 15:06:50 PST 2009
What I am trying to do is have a script kicked off via cron to do a find no a certain file, and if it has changed in the last minute to copy it elsewhere.
--
I say never be complete. I say stop being perfect. I say let's evolve. Let the chips fall where they may. -Fight Club
More information about the redhat-list
mailing list