After a little mistake on a folder name, with huge amount of files deleted/replaced on a lot of computers (but placed on .stversions - staggered file versioning) I realized that it will be impossible for me to manually put back all the files with the correct names (19300 files).
As it’s not the first time and not the last I need to do that kind of thing, I checked https://docs.syncthing.net/users/contrib.html before, and then written a simple but complete tool to perform the “restore” operation on my Windows and Linux computers.
It takes care not to overwrite without permissions and it detects conflicts (several versions matching the restore dates about to be restored in the same destination) before doing anything. In case of any failure on some files operation, those files simply don’t move and a message is telling what file didn’t worked.
Hope this will help ! I added the logo and some care to the visual (layouts, so compatibility with zoom factors on high DPI screens, clean code and comment in english…) in order to share it in a most decent presentation.