Can hadoop fs -ls be used to find all directories older than N days (from the current date)?
I am trying to write a clean up routine to find and delete all directories on HDFS (matching a pattern) which were created N days prior to the current date.