Gaven Tebogo

Gaven Tebogo

  • NA
  • 1
  • 565

program that compares one directory to another using C#

Mar 9 2015 4:27 PM
Please Help Me How to do this, as soon as possible, its very urgent, Thanks in Advance.
Source : C:\Data
Destination : C:\Backup\Data
Write a program that compares one directory to another "including sub-directories if user requires" and keeps them identical by copying or deleting files
and creating or deleting directories in the destination directory.
-> If a file is different in size or date and time then it should be replaced.
-> If a file is does not exist in the destination folder it must be copied.
-> If a file exists in destination but not source it must be deleted from destination.
-> If a directory does not exist in the destination it must be created.
-> If a directory exists in destination but not in source it must be removed from destination.
-> The whole process must be logged in a text file for viewing later.
-> The viewing of logs must be viewed by an external text editor like notepad etc.
-> Keep the data the user has entered in an xml file for ease of reuse.
-> Show a progress bar of the replication process. Create and use classes where possible. Use c# as the language.

Answers (1)