qbittorrent-cli icon indicating copy to clipboard operation
qbittorrent-cli copied to clipboard

Feature: Resume multiple torrents

Open kingp0dd opened this issue 2 years ago • 0 comments

Is there a way to resume multiple torrents at once? Goal is to resume all "errored" torrents through cron.

So far, I was able to get the "hash" of all errored torrents, but I found out that I can't pass multiple hashes to qbt torrent resume

 $(qbt torrent list -f errored -F json  | grep -Eo '"hash":.*?[^\\]",' |awk -F':' '{print $2}' | awk 'match($0, /"[^"]*/) {print su
bstr($0, RSTART+1, RLENGTH-1)}')

kingp0dd avatar Sep 29 '22 12:09 kingp0dd