Skip to content

kike49/python_script_sync_folders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Folder synchronization script

This Python file and its corresponding test file synchronize one way two folders in a periodic interval set by the user. Content and structure of the first folder (source) will be replacing the existing content of the second folder (replica), keeping the logs of the operations occurred on a file.

User needs to input the path to the folders and log file plus the periodic interval to set the synchronization. To run the script and test follow these steps:

To run the script

python folder_sync.py source_folder_path replica_folder_path number_of_seconds log_file_path

To run the tests

python -m unittest test_folder_sync.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages