Created
March 14, 2019 12:14
-
-
Save jkpark/da82772ad1d50e98945be1d70790b9c0 to your computer and use it in GitHub Desktop.
post work finished download torrent.
This file contains 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/sh | |
# Transmission script to remove torrent from lists | |
# The file for logging events from this script | |
LOGFILE=/var/log/transmission_post_download.log | |
# Remote login details. | |
TR_HOST="9091 --auth=transmission_rpc_id:transmission_rpc_pw" | |
echo "`date +%Y.%m.%d_%H.%M.%S` auto removed : $TR_TORRENT_NAME" >> $LOGFILE | |
transmission-remote $TR_HOST -t $TR_TORRENT_ID --remove |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment