Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 760 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 760 Bytes

Folder Sync

A Python program that synchronizes two folders: source and replica. The program should maintain a full, identical copy of source folder at replica folder.

  • Synchronization must be one-way: after the synchronization content of the replica folder should be modified to exactly match content of the source folder;
  • Synchronization should be performed periodically;
  • File creation/copying/removal operations should be logged to a file and to the console output;
  • Folder paths, synchronization interval and log file path should be provided using the command line arguments;

How to run

python {{script name}} --source {{source folder}} --destination {{destination folder}} --interval {{sync interval}} --file {{log file name}}