Clone directory (recursive) and restore any changes made to it.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- Copy a directory to a backup location.
- Check for changes in original directory's file content.
- Replace with the original file content if changes are found.
target is the directory to clone
backup is the backup directory
interval is the interval which the script check for changes
How does it check for changes?
This script check for changes by comparing md5 hash from original file and the clone file.