updated put script and publication added
[martlubbers.net.git] / put.bash
index 3b6754d..32e0011 100644 (file)
--- a/put.bash
+++ b/put.bash
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -e
 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' ':')
+user=ftp@martlubbers.net:$(pass ftp.martlubbers.net/ftp@martlubbers.net)
 
 for f in $files
 do