Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.