I created a Windows application that monitors a folder and automatically saves a backup if any files within it are updated.
I hope it will be useful to others, so I would like to release the source and the main body of the application.
Please download ver3.0.2 (latest version) from the following site.
https://drive.google.com/file/d/1d1Iw8Lot4EwY8tvXZioqea8zm5oST6dU/view?usp=sharing
Description of this application
It monitors a folder and automatically saves a backup when a file in it is updated.
For example, if there is index.php in the Folder folder, if you monitor the Folder folder, a backup file will be automatically generated when index.php is updated.
The format of the backup file is update date_file name.zip.
For example, the file name will be 20240401-123021_index.php.zip.
If you are monitoring the Folder folder, a Folder_BackUP folder will be generated in the same location as the Folder folder and a backup will be generated in it.
If there is a folder in the monitored folder, that folder will also be monitored.
In other words, child elements and grandchild elements will be targeted.
Old data that is more than 4 working days old will be automatically deleted the next time monitoring starts.
(Only the last edited content of each file on that day will remain)
Even if an error occurs during execution, the data in the monitored folder will never be rewritten.
Please use it with confidence.
Potential applications:
- Excel and Word editing
- Unity Assets folder
- Small Illustrator files
- HTML creation
- Video editing
- Programming
- Many other applications.
If you monitor the Unity Assets folder, a backup will be saved, as shown in the image below.(If you want to monitor your Unity Assets folder, I have a better solution for that in my other article.)
If you want the ver3.0.2 project file, please download it from the URL below.
You can open it in Visual Studio.
https://drive.google.com/file/d/1TVrTbElnDcBsxQ9DN_rocA9il7acqOUP/view?usp=sharing
We have publish an automatic backup Windows application.
We hope that it will be useful for your development.
Thank you for watching.
Top comments (0)