Created on 04-15-2021 08:18 AM - edited 04-15-2021 08:19 AM
Hi
I am trying to run this command in hdfs to find files older that 2 hours.
hdfs dfs -find /path/* -name "*.log.*" -mmin +120
but it doesnt recognizes -mmin. How can I achieve that?
Created 04-21-2021 12:12 AM
Hello
One example: https://stackoverflow.com/questions/44235019/delete-files-older-than-10days-on-hdfs