From af2a4bbd72c9bf9445743177d2d76f2095ac2a50 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 31 May 2020 09:38:08 +0000 Subject: [PATCH] Renamed old to known --- Scripts/hashdir | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Scripts/hashdir b/Scripts/hashdir index fc0335fa..35c98d6a 100755 --- a/Scripts/hashdir +++ b/Scripts/hashdir @@ -4,17 +4,17 @@ if [ -r new_hashes.xml ] then - echo "Found new_hashes.xml, renaming it to old_hashes.xml ..." - mv new_hashes.xml old_hashes.xml + echo "Found new_hashes.xml, renaming it to known_hashes.xml ..." + mv new_hashes.xml known_hashes.xml fi echo "Calculating new_hashes.xml of folder $1 ..." hashdeep -c md5,sha1,sha256,tiger,whirlpool -r -d -l -j 1 $1 > new_hashes.xml -if [ -r old_hashes.xml ] +if [ -r known_hashes.xml ] then echo "This has changed:" - diff old_hashes.xml new_hashes.xml + diff known_hashes.xml new_hashes.xml fi exit 0