Added script for generating checksums in files/
This commit is contained in:
parent
1c9b7ffbc0
commit
f5ec589524
3 changed files with 13 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,4 +1,2 @@
|
|||
*.7z
|
||||
*.tar.gz
|
||||
*.tar.xz
|
||||
files/*
|
||||
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -1,3 +1,3 @@
|
|||
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
11
checksum.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd files/
|
||||
|
||||
rm -rf *.sha256
|
||||
|
||||
for i in *; do
|
||||
echo $i
|
||||
sha256sum $i | tee $i.sha256;
|
||||
done
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue