cleanup
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
echo "autoshredding these files:"
|
||||
find . -type f \( -path ".git" -o -path "keystore" -o -path "archives" \) -prune \( -name "*.sha512" -o -name "checksums*" -o -name "private*" -o -name ".*" -o -name "*.sig" -o -name "*.7z" -o -name "anonymous_signer" \) -print -exec shred -uz {} \;
|
||||
echo $?
|
||||
|
||||
echo "autoshredding out"
|
||||
srm -r -z -l -l ./out
|
||||
echo $?
|
||||
|
||||
echo "rebuilding out"
|
||||
mkdir -p out/contents
|
||||
echo "put files to verifiably archive in here" > out/contents/README.md
|
||||
echo "# todo: make this nice" > ./out/README.md
|
||||
cp test_validate_passphrase.txt out/test_validate_passphrase.sh
|
||||
chmod +x out/test_validate_passphrase.sh
|
||||
cp verify-everything.txt out/verify-everything.sh
|
||||
chmod +x out/verify-everything.sh
|
||||
echo done :3
|
||||
|
||||
Reference in New Issue
Block a user