Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# if rtorrent is already running then use xmlrpc to reconfigure
if [[ "${rtorrent_running}" == "true" ]]; then
# useful for debug and finding valid methods
#rtxmlrpc system.listMethods
# note '' is required? as first parameter for subsequent rxmlrpc commands