Download specific file from a torrent using a cli client [duplicate]

I want to be able to download specific file from a magnet/.torrent (not all the files) using a cli client for my headless server. I know that GUI clients usually have this option but was looking for a command line tool.

Though this question answers on the options available, it doesn't cater to this specific question

6

1 Answer

Selecting individual files using the command line is a feature of the transmission-remote command, provided by the transmission-cli package.

Lat's take a look at that command's manpage:

-f --files Get a file list for the current torrent(s)
-g --get all | file-index | files Mark file(s) for download. all marks all all of the torrent's files for downloading, file-index adds a single file to the download list, and files adds multiple files to the download list, such as "-g1,3-5" to add files #1, #3, #4, and #5 to the download list.
-G --no-get all | file-index | files

You Might Also Like