#!/bin/rc
for(i in `{cat $home/src/get}){
torrent=`{echo $"i | sed 's/.*\///g'}
dir=`{echo $"i | sed 's/'$"torrent'//g'}
title=`{echo $"torrent | sed s'/\.torrent//g'}
window -scroll 'cpu -h ttr -c ''cd '''$dir'''; ip/torrent -pv '''$torrent''' | aux/statusbar -t '''$title''' && rm '''$torrent'''; rc'''
}
|