Advertisement
osja

qbittorrent-nox force recheck script

Apr 19th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. # Force a recheck of all torrents in qbittorrent-nox:
  2.  
  3. host=localhost; user=admin; password=adminadmin; curl -s -c tempcookie -d "username=${user}&password=${password}" http://${host}:8080/login; for h in $(curl -s -b tempcookie http://${host}:8080/query/torrents | jq -r ".[].hash"); do curl -s -b tempcookie -d "hash=$h" http://${host}:8080/command/recheck; done; rm tempcookie
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement