You can do it with the below command. The stat "%y"
command helps you get the modification date and cut -d' ' -f1|sort|uniq -c
will cut the date, sort it and count the unique values.
hdfs dfs -stat "%y" path | cut -d' ' -f1|sort|uniq -c
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…