Clone directory (recursive) and restore any changes made to it.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

11 lignes
454 B

il y a 4 ans
il y a 4 ans
  1. # py-dir-watcher
  2. 1. Copy a directory to a backup location.
  3. 2. Check for changes in original directory's file content.
  4. 3. Replace with the original file content if changes are found.
  5. ## Cloner
  6. - `target` is the directory to clone
  7. - `backup` is the backup directory
  8. - `interval` is the interval which the script check for changes
  9. ## How does it check for changes?
  10. This script check for changes by comparing md5 hash from original file and the clone file.