Ten latest files on disk

Posted by Artic on Stack Overflow See other posts from Stack Overflow or by Artic
Published on 2010-03-16T05:02:27Z Indexed on 2010/03/16 5:06 UTC
Read the original article Hit count: 335

Filed under:
|
|
|

I need effective algorithm to keep only ten latest files on disk in particular folder to support some kind of publishing process. Only 10 files should present in this folder at any point of time. Please, give your advises what should be used here.

© Stack Overflow or respective owner

Related posts about java

Related posts about file-io