Skip to content

The script which executes synchronization of source and replica folders. Generates log-file with all executed operations on files and folders

Notifications You must be signed in to change notification settings

affogato15/Synchronization-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

The script which executes synchronization of source and replica folders. Inputs are pathes to source and replica folders, number of sync. sessions and interval between sessions. Script scans replica folder and compare list of names of files and folders inside, copies files and folders if they are absent in destination folder and delete it if some are not present in source folder. In case of the the same file name it checks whether the content is the same. If not, it replaces files with ones from the source. There is recursive algorithm implemented, which allows to scan subfolders in case of the same name and execute mentioned operations to them. Output is log.txt file, which contains time of the script run, numbers of sessions and corresponding operations on files and folders with its pathes.

About

The script which executes synchronization of source and replica folders. Generates log-file with all executed operations on files and folders

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages