Java: Delete Files From Path Based On Duration

This function will recursivly delete directories and files inside the said path but it will not delete the path itself. The method takes into account the number of days since the file was created or updated If it is equal or more than the number of duration days, then the file will be deleted, else ignored.

Related Posts Plugin for WordPress, Blogger...

1 comment

  1. Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now. Keep it up! And according to this article, I totally agree with your opinion, but only this time! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *