删除hdfs的tmp文件夹历史数据 new_files=6>"2021-11-22"){printf "%s\n", {new_files// /}) echo {arr[@]} do # hadoop fs -rm file done