Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 1998 23:20:26 +0100
From:      "Gianmarco Giovannelli" <gmarco@giovannelli.it>
To:        questions@FreeBSD.ORG
Cc:        newbie@FreeBSD.ORG
Subject:   files newer than n days...
Message-ID:  <199811182212.XAA05495@www.giovannelli.it>

next in thread | raw e-mail | index | archive | help

Hello I'd like to find with "find" or in other way files newer than a given 
period, lets say 2 days for example...
I tried with the ctime param of the find but it matches only files modified in 
the day specified (example -ctime 2, give me back all the files created on 
the day before yesterday but not the files created yesterday itself...)
I can use -ctime 2 -or -ctime 1 as params of the find, but I like more a better 
solution....

I have to use the results to make a simple perl program to check what files 
are newer than a given date (or amount of day) in an ftp server file 
directory....
Any perl modules that can make the same job of the find itself ???

Please aswer to me too, because I am not subscribed to this list.


Best Regards,
Gianmarco Giovannelli (http://www.giovannelli.it/~gmarco)
"Unix expert since yesterday"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811182212.XAA05495>