work on the seeding script

This commit is contained in:
idk
2020-10-11 20:19:50 -04:00
parent 83ccaa9d32
commit aba4d33fb3
7 changed files with 19 additions and 7 deletions

View File

@ -23,7 +23,7 @@ seed: index curl upload
curl:
@echo "#! /usr/bin/env bash" | tee curl.sh
@echo "rm -rfv ~/.i2p/i2psnark/idk.i2p ~/.i2p/i2psnark/idk.i2p.torrent ~/.i2p/i2psnark/idk.i2p.zip" | tee -a curl.sh
@echo "wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/archive/master.zip" | tee -a curl.sh
@echo "wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/releases/download/current/idk.i2p.zip" | tee -a curl.sh
@echo "wget -O ~/.i2p/i2psnark/idk.i2p.torrent https://eyedeekay.github.io/idk.i2p.torrent" | tee -a curl.sh
#@echo "wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/releases/download/`torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g'`.magnet/idk.i2p.zip" | tee -a curl.sh
@echo "unzip ~/.i2p/i2psnark/idk.i2p.zip -d ~/.i2p/i2psnark/" | tee -a curl.sh
@ -39,7 +39,19 @@ upload-torrent:
gothub upload -R -u eyedeekay -r eyedeekay.github.io -t `torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g'`.magnet -n idk.i2p.torrent -f idk.i2p.torrent
upload-zip:
#gothub -v upload -R -u eyedeekay -r eyedeekay.github.io -t `torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g'`.magnet -n idk.i2p.zip -f idk.i2p.zip
gothub -v upload -R -u eyedeekay -r eyedeekay.github.io -t `torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g'`.magnet -n idk.i2p.zip -f idk.i2p.zip
current: current-release current-torrent current-zip
current-release:
gothub release -p -u eyedeekay -r eyedeekay.github.io -t "current" -n "current" -d "Site snapshot as of `date`"; true
gothub edit -p -u eyedeekay -r eyedeekay.github.io -t "current" -n "current" -d "Site snapshot as of `date`"; true
current-torrent:
gothub upload -R -u eyedeekay -r eyedeekay.github.io -t "current" -n idk.i2p.torrent -f idk.i2p.torrent
current-zip:
gothub -v upload -R -u eyedeekay -r eyedeekay.github.io -t "current" -n idk.i2p.zip -f idk.i2p.zip
up:
cp idk.i2p.torrent ~/.i2p/i2psnark/idk.i2p.torrent