I have an autoupdater C # program. It will download a rar file containing modified or new files for updating for some software. The rar file has a structure such as the base directory of the software, but contains only modified or new files / folders. Is there an easy way to “merge” these files / folders into a target directory, so that if the file / folder already exists, it will be replaced, and if it will not be added or I will have to manually move through each file / folder and do it on your own? Just hope there is a small merge function that has .NET :)
source
share