I need to get the modification datetime and the directory size using the same command using hdfs cli. Currently I am running 2 separate commands and manually merging the rows. Is there a way to do this directly?
The commands I am using are:
hdfs dfs -du -h ~/tmpto get the sizehdfs dfs -ls ~/tmpto get the modification date