#!/bin/bash # # Simple syncthing Tor wrapper # # See https://docs.syncthing.net/users/proxying.html if which syncthing 2> /dev/null; then export all_proxy=socks5://127.0.0.1:9050 syncthing "$@" else echo "error: syncthing not installed" exit 1 fi