how to find files less than a day old?
From: Brian John (brianjohn_at_fusemail.com)
Date: 03/29/05
- Previous message: Anthony Atkielski: "Re: Anthony's drive issues.Re: ssh password delay"
- Next in thread: Noel Jones: "Re: how to find files less than a day old?"
- Reply: Noel Jones: "Re: how to find files less than a day old?"
- Maybe reply: Brian John: "Re: how to find files less than a day old?"
- Maybe reply: Brian John: "Re: how to find files less than a day old?"
- Maybe reply: Brian John: "Re: how to find files less than a day old?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Mar 2005 13:02:37 -0600 (CST) To: freebsd-questions@freebsd.org
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 grabs files that are less than a day old, so I get some
files returned that I don't want. I tried using -0.5 instead of -1 and it
didn't work. How can I accomplish this?
Thanks
/Brian
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Anthony Atkielski: "Re: Anthony's drive issues.Re: ssh password delay"
- Next in thread: Noel Jones: "Re: how to find files less than a day old?"
- Reply: Noel Jones: "Re: how to find files less than a day old?"
- Maybe reply: Brian John: "Re: how to find files less than a day old?"
- Maybe reply: Brian John: "Re: how to find files less than a day old?"
- Maybe reply: Brian John: "Re: how to find files less than a day old?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|