This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
test -z $1 && echo "need magnet link! | |
$0 <magnet link>" && exit -1 | |
HOST=YourRemoteHostNameOrIP | |
PORT=YourPort(default is 9091) | |
USER=User | |
# NOTE: I had issues using passwords with semicolons (;) in them, | |
# you might want to stay away from them | |
PASS=pass |