If the files mostly never change, there may be faster ways. If your code does the changing, then you can log whenever that gets done. This makes the list much shorter and no pruning is needed. Alternatively, you could touch the files so that they all have the same timestamp. Then, you could just assemble the list of files that have a timestamp that is different and you would not need to do all that pruning. -- Posted via http://www.ruby-forum.com/.