Bash Commands: aria2c
To display .torrent file listing included in:
aria2c -S fileName.torrent
To set file to download by specifying its index and remove unselected files when download is complete:
aria2c fileName.torrent --select-file=<INDEX> --bt-remove-unselected-file=true --seed-time=0
aria2c $TOR --select-file=<INDEX> --bt-remove-unselected-file=true --seed-time=0
To automate aria2c download of mp3 torrent:
TOR=`lsgrep torrent`
myaria (alias: aria2c $TOR --seed-time=0)
To delete .torrent file upon exiting aria2c download of mp3
rmaria (alias: rm -v $TOR)
NULL:
NULL fileName