Moved some files to archive and added links to presentations
[martlubbers.net.git] / put.bash
index 8f3806b..3b6754d 100644 (file)
--- a/put.bash
+++ b/put.bash
@@ -1,9 +1,9 @@
 #!/bin/bash
 set -e
-files=$(find . -type f -not -iwholename "*.git*")
+files=$(find . -type f -not -iwholename "*.git*" -not -name "README.md" -not -name "put.bash" -not -name "hashes.txt")
 user=$(gpg -q --use-agent -d ~/pw/general.asc | grep ftpmartlubbers.net -A3 | head -3 | tail -2 | sed 's/\s\+\(user\|pass\):\s\+//g' | head -c -1 | tr '\n' ':')
 
-for f in $(find . -type f -not -iwholename "*.git*")
+for f in $files
 do
        origmd5=$(grep "$f" ./hashes.txt | awk '{print $1}')
        currmd5=$(md5sum "$f" | awk '{print $1}')