Last active
December 11, 2024 12:24
-
-
Save eugesh/c6f8a0a885ef2a4366f6eb40126bdcd6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 ON | |
SET FileList=D:\path\to\changed_list.txt | |
SET Source=D:\path\to | |
SET Destination=C:\path\to | |
FOR /F "USEBACKQ TOKENS=*" %%F IN ("%FileList%") DO XCOPY /F /Y "%Source%\%%~F" "%Destination%\%%~F" | |
GOTO :EOF |
This file contains hidden or 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
$ git diff --name-only HEAD~25 HEAD >> changed_list.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment