Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • I don't think HDFS has this facility. You may have to sort the files based on datetime and sort them and then copy based on the datetime, for which you may need to write a shell script. If you can post your shell script attempt you probably attract some traction to your question. If you're doing it in a HDFS location, better to have a Java code than shell script as it is native. Commented Jul 17, 2019 at 8:05