0

I use this command Robocopy D:\DIR1 E:\DIR2 /MIR to keep the contents of two folders synchronized:

How do I keep 5 separate copies of the target folder, while deleting the sixth-oldest one?

2
  • What research have you done and what have you tried regarding this? Can you clarify what you mean regarding the "5 separate copies"? Do you mean keeping 5 folders synced, or keeping old copies of files superseded by the sync you note in the preceding paragraph, or something else? Commented Mar 6 at 16:35
  • You simply create 5 destination folders. Then you can use a PowerShell script to select the destination folder (based on the current date for example).
    – zomega
    Commented Mar 6 at 17:59

0

You must log in to answer this question.

Browse other questions tagged .