Exclude file
-
- Posts: 2
- Joined: Fri Mar 11, 2016 7:50 pm
Exclude file
Hi! How to exclude files in torrent from download using only command line ?
-
- Posts: 2
- Joined: Fri Mar 11, 2016 7:50 pm
Re: Exclude file
I mean the situation when torrent file contains number of files for downloading. And I could not resolve this case using man pages.
Re: Exclude file
Sorry, for responding to such an old post...but I had the same question, this came up high in google search results and was unanswered.
I didn't spot this immediately in the help either, but it is there.
So first, list your torrents to get the torrent ID you are interested in.
Let's say for this example it is 42.
List the files included in that torrent. They will show up a little while after you add the torrent...assuming there are sufficient seeders to provide the details.
-t selects the torrent. -if (or -f) displays the files associated with that torrent. If you don't see any, wait a while and try again.
From the list of files determine which ones you want to exclude (or include). To exclude files with IDs 5 through 12 from torrent 42 you can do:
If you list the files for torrent 42 again you should see that 5-12 are marked for no download.
I didn't spot this immediately in the help either, but it is there.
Code: Select all
# transmission-remote --version
transmission-remote 2.94 (0)
# transmission-remote -h
...
-f --files List the current torrent(s)' files
-g --get <files> Mark files for download
-G --no-get <files> Mark files for not downloading
-if --info-files List the current torrent(s)' files
...
Code: Select all
# transmission-remote --list
ID Done Have ETA Up Down Ratio Status Name
42 1% 1 MB 11 hrs 0.0 81.0 0.0 Downloading Some-Torrent
List the files included in that torrent. They will show up a little while after you add the torrent...assuming there are sufficient seeders to provide the details.
Code: Select all
# transmission-remote -t 42 -if
From the list of files determine which ones you want to exclude (or include). To exclude files with IDs 5 through 12 from torrent 42 you can do:
Code: Select all
# transmission-remote -t 42 --no-get 5-12