The task was to create simple CLI tool that periodically synchronizes two folders, source
and replica
. The tool should maintain a full, identical copy of source folder at replica folder.
Open your terminal and run following commands in given order.
$ git clone git@github.com:czernalex/folder_syncr.git
$ cd folder_syncr
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
After successfully cloning repository and creating virtual env:
(venv) $ python main.py path_to_source_folder path_to_replica_folder path_to_log_file sync_interval_in_seconds