5

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

user
  • 63

1 Answers1

4

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

Let'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
user535733
  • 68,493