find [directory path] -ctime 15 -print

This will get any file changed in the over 15 days ago.  If you want
accessed try atime instead.  If you want modified change this to mtime.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Steve Lee
Sent: Wednesday, December 06, 2000 3:40 PM
To: Steve Lee
Subject: finding files 15 days old or older.


how do you make a script or use find.
to find files 15 days or olders so
i can delete it off a tmp directoy.

please help.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to