rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.05k stars 412 forks source link

Selecting torrents and files for bulk management #675

Open Chitose-chan opened 6 years ago

Chitose-chan commented 6 years ago

Let's say I'm downloading a torrent that has 600 of 300 MiB files, all in one directory and I need only 20 of them (and I may not have the time or the space for downloading all of them). Right now, I don't see a way to go about setting priority for multiple files other than going from file to file and pressing space to set priority for each one separately, which would not be feasible in the given scenario. Similarly for torrents, what if I had 600 torrents and I wanted to quickly delete, stop or throttle all but say 10 of them? Wouldn't it be nice if there was a keybind to enter some kind of selection mode, use PgUp, PgDwn, Home, End, etc to quickly select lots of files/torrents and perform an action on all of them at once?

kannibalox commented 6 years ago

Right now, I don't see a way to go about setting priority for multiple files other than going from file to file and pressing space to set priority for each one separately, which would not be feasible in the given scenario.

Use f.multicall and f.priority.set to disable all files, then enable only the ones you want.

Similarly for torrents, what if I had 600 torrents and I wanted to quickly delete, stop or throttle all but say 10 of them? Wouldn't it be nice if there was a keybind to enter some kind of selection mode, use PgUp, PgDwn, Home, End, etc to quickly select lots of files/torrents and perform an action on all of them at once?

I strongly recommend rtcontrol from the pyrocore tools for any sort of bulk action, however you can use d.multicall2 manually as well.

chros73 commented 6 years ago

Use f.multicall and f.priority.set to disable all files, then enable only the ones you want.

This part is already implemented: just use * key to trigger the same setting for all the files (e.g. set all of them to off) and then you can enable only couple of them.

As @kannibalox said, the second part can be done with d.multicall2 inside rtorrent.

Btw, if you haven't heard about rtorrent-ps or rtorrent-ps-ch, just look it up! :)