Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

@author: Kristijan kristijan.sarin@gmail.com

Test Task

Requirements

Python
Command line

Setup

I highly recommend using a virtual environment. For Linux:

python -m venv venv
./venv/bin/activate

Running the app

Run the app in the console:

1. Navigate to the directory where main.py and tools.py are located.
2. Run the following command:

python main.py <path_to_source> <path_to_replica> <interval> <path_to_log>

examples:
python main.py ./source ./replica 25 ./log_file.log
python main.py ./source ./copy 60 ./log.txt 

Note: Of course, you are allowed to use absolute paths too.

Exiting the app

Press CTRL+C to stop the script.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages