python sync.py [source folder] [replica folder] [sync interval in seconds] [log file]
This command should start copying, deleting or replacing files referring to the source folder in the folder you specified as a replica at the interval you specify.
If the code does not run and throws a permission related error, then you can run the process as an administrator with this command:
sudo python sync.py [source folder] [replica folder] [sync interval in seconds] [log file]