Added Updates

This commit is contained in:
Hannes
2025-11-16 17:26:44 +01:00
parent 4c69b186f0
commit b16d05da76
21 changed files with 467 additions and 34 deletions

15
functions/compare_sha256.fish Executable file
View File

@@ -0,0 +1,15 @@
function compare_sha256
if test (count $argv) -ne 2
echo "Usage: compare_sha256 <file1> <file2>"
return 1
end
set hash1 (sha256sum $argv[1] | awk '{print $1}')
set hash2 (sha256sum $argv[2] | awk '{print $1}')
if test "$hash1" = "$hash2"
echo "Match"
else
echo "Different"
end
end