From 9326a26f9bfbdb8d290d4ad38f2b9b0a16d01145 Mon Sep 17 00:00:00 2001 From: myitinos Date: Tue, 23 Jul 2019 20:16:55 +0800 Subject: [PATCH] Update 'README.md' --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 0313315..272f5f1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,12 @@ # py-dir-watcher +1. Copy a directory to a backup location. +2. Check for changes in original directory's file content. +3. Replace with the original file content if changes are found. +## Cloner +- `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. \ No newline at end of file