Created
November 25, 2019 11:57
-
-
Save icarrr/fecd5520b094d831f0775c3cc3ca3276 to your computer and use it in GitHub Desktop.
Can move files that are more than 2 days old
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set X=2 | |
set "source=source" | |
set "destination=destination" | |
robocopy "%source%" "%destination%" /move /minage:%X% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment