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 directori
hdfs dfs -ls /hadoop/path/*.txt|awk '$6 < "2017-10-24"'