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.
-
Notifications
You must be signed in to change notification settings - Fork 0
affogato15/Synchronization-task
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published