Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When I download a torrent file with aria2c, it always try to parse it and add a torrent task, but all I want is get that file.

Is it possible to stop aria2c from doing so? I didn't seem to find an option in manual

share|improve this question

1 Answer 1

up vote 3 down vote accepted
aria2c "${URL}" --follow-torrent=false

From aria2's manual:

--follow-torrent=true|false|mem - If true or mem is specified, when a file whose suffix is .torrent or content type is application/x-bittorrent is downloaded, aria2 parses it as a torrent file and downloads files mentioned in it. If mem is specified, a torrent file is not written to the disk, but is just kept in memory. If false is specified, the .torrent file is downloaded to the disk, but is not parsed as a torrent and its contents are not downloaded.

Default: true
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.