Python application that synchronizes two folders: source and replica.
-
Synchronization is one-way. The replica folder is modified to exactly match content of the source folder;
-
Synchronization is performed periodically.
-
File operations are logged to a log file and to the console output.
-
Folder paths, synchronization interval and log file path can be provided using the command line arguments.
Python
To start this app, open a console in the root directory (in the folder where main.py located) and run the following command
python main.py [-s] ['source_folder_path'] [-r] ['replica_folder_path'] [-l] ['log_file_path'] [-i] [interval_time]
For example:
python main.py -s 'E:/source' -r 'D:/replica' -l 'sync.log' -i 10
python main.py