Re: how to find files less than a day old?

2005-03-30 Thread Brian John
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? Maybe the solaris find command supports the -newer option. I think -newer is more widely supported, and likely to be available on Solaris. If

how to find files less than a day old?

2005-03-29 Thread Brian John
Hello, I'm trying to write a script to concatenate a bunch of files. Basically I want to grab a bunch of files out of a directory that are less than an hour or so old and put them in one file. This is what I am using so far: find . -mtime -1 -type f | xargs cat temp.txt However, this only

Re: how to find files less than a day old?

2005-03-29 Thread Noel Jones
On Tue, 29 Mar 2005 13:02:37 -0600 (CST), Brian John [EMAIL PROTECTED] wrote: Hello, I'm trying to write a script to concatenate a bunch of files. Basically I want to grab a bunch of files out of a directory that are less than an hour or so old and put them in one file. This is what I am

Re: how to find files less than a day old?

2005-03-29 Thread Brian John
On Tue, 29 Mar 2005 13:02:37 -0600 (CST), Brian John [EMAIL PROTECTED] wrote: Hello, I'm trying to write a script to concatenate a bunch of files. Basically I want to grab a bunch of files out of a directory that are less than an hour or so old and put them in one file. This is what

Re: how to find files less than a day old?

2005-03-29 Thread Noel Jones
On Tue, 29 Mar 2005 14:11:45 -0600 (CST), Brian John [EMAIL PROTECTED] wrote: On Tue, 29 Mar 2005 13:02:37 -0600 (CST), Brian John [EMAIL PROTECTED] wrote: Hello, I'm trying to write a script to concatenate a bunch of files. Basically I want to grab a bunch of files out of a

Re: how to find files less than a day old?

2005-03-29 Thread Brian John
On Tue, 29 Mar 2005 14:11:45 -0600 (CST), Brian John [EMAIL PROTECTED] wrote: On Tue, 29 Mar 2005 13:02:37 -0600 (CST), Brian John [EMAIL PROTECTED] wrote: Hello, I'm trying to write a script to concatenate a bunch of files. Basically I want to grab a bunch of files out of a

Re: how to find files less than a day old?

2005-03-29 Thread Jerry Bell
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

Re: how to find files less than a day old?

2005-03-29 Thread Noel Jones
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? Maybe the solaris find command supports the -newer option. I think -newer is more widely supported, and likely to be available on Solaris. If necessary,