Created
May 16, 2018 14:04
-
-
Save linux-modder/dfc6035b2a1d3d01a187bc29ce9fab8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
transmission-create -p -s 2048 \ | |
-c "ISO SHA512SUM: $(cat CHECKSUM512*)" \ | |
-t http://respins.fedorainfracloud.org:6969/announce \ | |
-o F${RELEASE}-${SPIN_SHORT_NAME}-x86_64-${SPIN_ID}-Live.torrent \ | |
F${RELEASE}-${SPIN_SHORT_NAME}-x86_64-${SPIN_ID}-Live.iso && \ | |
transmission-show F${RELEASE}-${SPIN_SHORT_NAME}-x86_64-${SPIN_ID}-Live.torrent | \ | |
awk '/Hash/{ hash = $2 } /Name/ {name = $2} END { print hash, name }' > F${RELEASE}-${SPIN_SHORT_NAME}-x86_64-${SPIN_ID}-torrenthash && \ | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment