[WBEL-users] Bittorrent seeds

Eric Wood eric@interplas.com
Wed, 18 Feb 2004 17:04:45 -0500


Johnny Hughes wrote:
> All,
> If you have the iso's on your harddrive and already have bittorrent on
>
> btdownloadcurses.py -max_upload_rate 32
> http://whiteboxlinux.org/liberation-final-bins-good.torrent

I want to:
During the day:

kill `ps -e | grep btdownload| awk '{ $1 = $1; print }' |
 cut -f1 -d" "`
btdownloadheadless.py -max_upload_rate 8
http://whiteboxlinux.org/liberation-final-bins-good.torrent

During the night:

kill `ps -e | grep btdownload| awk '{ $1 = $1; print }' |
 cut -f1 -d" "`
btdownloadheadless.py -max_upload_rate 64
http://whiteboxlinux.org/liberation-final-bins-good.torrent

I can call this from cron.  Is there a more elegant way to close a headless
BT?

-eric wood