how to find files less than a day old?

Jerry Bell jbell at stelesys.com
Tue Mar 29 12:38:51 PST 2005


It doesn't appear to work on my FreeBSD box, either.  What does work is this:
find /var/log -newerct '1 hour ago' -exec cat {} >> /var/tmp/filename \;

Jerry
http://www.syslog.org

> I read the man page and didn't see that.  It doesn't appear to work on the
> box that I am ssh-ing to.  Sorry, I should have mentioned that it is not a
> FreeBSD box that I am connected to.  I think it may be a Solaris 9 box.
> Is there any way to get this to work in Solaris?
>
> Thanks
>
> /Brian
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>




More information about the freebsd-questions mailing list