If you create a file and then delete it, then you have modified the directory. In that case, the modtime of the directory wil be updated when u deleted the file. 

This could make the modtime of the directory be later than the modification time of any remaining files in that directory.


On Tue, May 24, 2011 at 8:27 AM, Tom Hall <thattommyhall@gmail.com> wrote:
Directory Modified Time is earlier than the files it contains for some
of my folders on HDFS. Is this usual? I would like to be able to
hadoop fs -rmr /path/to/some/dir
if the dirs modified time is older than 5 days or whatever.


Connect to me at http://www.facebook.com/dhruba