JW, On Wednesday 30 January 2002 07:57, you said something about: > Hey, > > I'm trying to get a list of files 30 day sold or younger. I thought the > following would to the trick: > > find . -type f -mtime 30 -ls > > But that only prints files that are exactly 30 days old. How do I do that > "and younger" part? Less then 31 days would be a suitable substitute too.
>From "man find"... TESTS Numeric arguments can be specified as +n for greater than n, -n for less than n, n for exactly n. So give "find . -type f -mtime -30 -ls" a try. -- Brian Ashe CTO Dee-Web Software Services, LLC. [EMAIL PROTECTED] _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list