PowerShell script that monitors changes to the save game files and backs up said files when a detected change occurs. This helps to reduce lost progress when death occurs or some other issue occurs with the game.
Tested but no error checking so YMMV. Could be modified for other games, files, or apps.
To use:
-
Change 'SaveFilesPath', 'SaveGameDirName', and 'BackupFilesPath' accordingly.
-
Create text file 'items.txt' and add files (and paths) you want to monitor.
-
Decide if you want to monitor subdirectoriees with 'IncludeSubdirectories'
-
To test, uncomment 'global:all' line
-
Once all above are complete then run the PS script in a PS terminal.
-
<CTRL+C> will terminate process.
-
Enjoy being scummy! (Or, How I Learned to Not Lose So Much Progress...and TIME!)