There is this option in Robocopy: /maxage: Specifies the maximum file age (to exclude files older than N days or date).

In my case, i want to copy all data put into a new folder being created everyday by my colleagues. The data usually contain files older than the date they are copied into. In other words, can Robocopy copy all data by the date of containing folder?

Hope you can help me solve this problem. Thank you!! :)


The below links are helpful and have the solution for your question

Robocopy command to copy updated files and long path names


  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Tetsujin Sep 6 '20 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.