Search found 3 matches

by Tepelstreeltje
Wed Nov 03, 2010 7:16 pm
Forum: General
Topic: Accessing torrent file list in the on-completion script
Replies: 3
Views: 14598

Re: Accessing torrent file list in the on-completion script

#!/bin/sh

#user or email the logs get mailed to in case of error / virus (if your mta supports non-local email)
ADMIN="user"
#Log file used, warning, if you re-use the log file all previous data will be overwritten each time the script is run.
LOGFILE="/var/log/transmission/scanlogs/transmission ...
by Tepelstreeltje
Wed Nov 03, 2010 6:45 am
Forum: General
Topic: Accessing torrent file list in the on-completion script
Replies: 3
Views: 14598

Re: Accessing torrent file list in the on-completion script

Cheers, kinda stupid of me to forget I could use the torrent id to access the specific filelist !
I'll try to post the entire script after work tonight
by Tepelstreeltje
Tue Nov 02, 2010 9:46 pm
Forum: General
Topic: Accessing torrent file list in the on-completion script
Replies: 3
Views: 14598

Accessing torrent file list in the on-completion script

I'm trying to write a simple script to scan (clamav) all files that were downloaded up on completion.
For most torrents having the torrent name and download directory is enough, however if the torrent name is not the same as the file or the directory of the content, I am forced to scan the entire ...