find -mmin isn't working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux