From 3db6b4547b2e25ac2f250781e63754a7319164bb Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Sun, 22 May 2011 18:06:45 -0300 Subject: 2011.05.22 build --- createtorrent | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 createtorrent (limited to 'createtorrent') diff --git a/createtorrent b/createtorrent new file mode 100755 index 0000000..fccf5f5 --- /dev/null +++ b/createtorrent @@ -0,0 +1,15 @@ +#!/bin/bash + +ARCH=$(uname -m) +MOTTO=$(cat motto) + +for iso in $@; do + if [ -f ${iso} ]; then + mktorrent -c "${MOTTO}" \ + -a http://tracker.openbittorrent.com/announce \ + -a http://tracker.publicbt.com/announce \ + -v \ + -w http://repo.parabolagnulinux.org/isos/${ARCH}/$(basename ${iso}) \ + ${iso} + fi +done -- cgit v1.2.3-54-g00ecf