#!/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