commit bbd8c193a29d2608e13484ef2d3a2b8d0c21fbf0 parent b847b89279a639f387fd6e9e8b8a3963ad9eeea2 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 27 Dec 2018 19:58:34 +0100 Only stop Idle feeds that are Done Diffstat:
M | links/.commands.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/.commands.sh b/links/.commands.sh @@ -199,7 +199,7 @@ t-stop() { transmission-remote --torrent $@ --stop } t-stop-idle() { - for id in $(t-list | grep Idle | awk '{ print $1 }' | tr '\n' ','); do + for id in $(t-list | grep Done | grep Idle | awk '{ print $1 }' | tr '\n' ','); do t-stop $id done }