#!/usr/bin/env bash # file: ctorrent.sh - script to get torrents # dependencies - ctorrent wget beep # commented out gtorrent lines show no longer available torrents. gtorrent='https://seedbox.slackware.uk/torrents/slint64-15.0-5-iso.torrent' echo "torrent availability checks ahead of download." echo "decoding meta file before downloading." wget --quiet --spider $gtorrent if [ $? -gt 0 ]; then echo "vaporware error alert!" exit 1 fi echo "checking torrent pieces before download." ctorrent -c $gtorrent read echo "about to try download." ctorrent -s ~/Downloads -T -X beep -dd $gtorrent # gtorrent='https://seedbox.slackware.uk/torrents/slint64-15.0-5-iso.torrent' gtorrent='https://tails.net/torrents/files/tails-amd64-6.1.iso.torrent' -- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. To unsubscribe from this group and stop receiving emails from it, send an email to blinux-list+unsubscribe@xxxxxxxxxx.