Added script for generating checksums in files/

This commit is contained in:
Johannes Findeisen 2022-07-18 17:49:59 +02:00
commit f5ec589524
3 changed files with 13 additions and 4 deletions

4
.gitignore vendored
View file

@ -1,4 +1,2 @@
*.7z files/*
*.tar.gz
*.tar.xz

View file

@ -1,3 +1,3 @@
all: all:
rsync -avr --delete --delete-excluded ./* unixpeople.org:/var/www/unixpeople.org/www/htdocs/ rsync -avr --delete --delete-excluded --exclude=*.sh ./* unixpeople.org:/var/www/unixpeople.org/www/htdocs/

11
checksum.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
cd files/
rm -rf *.sha256
for i in *; do
echo $i
sha256sum $i | tee $i.sha256;
done