Search found 10 matches

by WonderSir1234
Mon Mar 26, 2018 4:47 am
Forum: Support
Topic: Is there anyway to rename a file on torrent completion?
Replies: 0
Views: 1134

Is there anyway to rename a file on torrent completion?

I'm looking to rename files on torrent completion with the script that I have. I've been looking at the current environmental variables listed here https://trac.transmissionbt.com/wiki/Scripts ; it doesn't seem to support renaming and then continuing to seed the file. Has anyone seen this done before?
by WonderSir1234
Sat Feb 17, 2018 5:41 pm
Forum: Support
Topic: ulimit values for transmission script torrent done
Replies: 5
Views: 1810

Re: ulimit values for transmission script torrent done

I just researched again, I think I can change it from /etc/init.d/transmission Right now it's sitting here: https://github.com/openwrt/packages/blob/master/net/transmission/files/transmission.init But I don't want to change the init file all the time after every update. if test -z $USE; then procd_s...
by WonderSir1234
Fri Feb 16, 2018 2:46 pm
Forum: Support
Topic: ulimit values for transmission script torrent done
Replies: 5
Views: 1810

Re: ulimit values for transmission script torrent done

Check the /etc/security/limits.conf (or additional files in /etc/security/limits.d/) to see and adjust the global limits. The "item" (3rd column) will be "as" in your case. If there is no rule for transmission, you could add one; either refer to the comments in the file itself or to `man limits.con...
by WonderSir1234
Wed Feb 14, 2018 2:41 pm
Forum: Support
Topic: ulimit values for transmission script torrent done
Replies: 5
Views: 1810

Re: ulimit values for transmission script torrent done

Please don't double-post. Previous thread removed. The limit is clearly shown in "Max address space" line. It's in different units, but if you divide 256800000 by 1024 you'll get exactly 250781. Thanks, sorry about that. I had more information and realized my last thread was in the wrong place. Hmm...
by WonderSir1234
Sun Feb 11, 2018 12:48 am
Forum: Support
Topic: ulimit values for transmission script torrent done
Replies: 5
Views: 1810

ulimit values for transmission script torrent done

I'm running into ulimit problems when trying to run rclone from my script. See here https://forum.rclone.org/t/potential-bug-when-running-rclone-off-openwrt/4726 In my script I want virtual memory to be unlimited. When I run the script with ulimit -v in bash to check the limit I get + ulimit -v 2507...
by WonderSir1234
Thu Feb 01, 2018 6:09 am
Forum: General
Topic: What user does the transmission for script-done running script after download
Replies: 7
Views: 1882

Re: What user does the transmission for script-done running script after download

disclaimer I am not a programmer or "engineer" if that's what they call them now I shamelessly stole the content from here https://github.com/jproulx/transmission-complete/blob/master/transmission-complete.sh To answer your original question, I believe REMOTE_SOURCE was constructed to use the sq () ...
by WonderSir1234
Wed Jan 31, 2018 5:45 am
Forum: General
Topic: What user does the transmission for script-done running script after download
Replies: 7
Views: 1882

Re: What user does the transmission for script-done running script after download

Ah thank you that helps immensely! I changed the code a little bit: #!/bin/ash # Enable logging exec > /mnt/sda1/Utilities/transmission/transmission-complete.log 2>&1 # Enable tracing for log (optional) set -x # Config information FILE_OPTS="/mnt/sda1/Downloads/" TR_OPTS="-n admin:password" sq() { #...
by WonderSir1234
Tue Jan 30, 2018 3:48 pm
Forum: General
Topic: What user does the transmission for script-done running script after download
Replies: 7
Views: 1882

Re: What user does the transmission for script-done running script after download

I can only run the script within transmission. If I don't I get an output error for selecting torrents (since I can't call transmission torrents unless I hardcode it). See here: #!/bin/ash FILE_OPTS="/mnt/sda1/Downloads/" TR_OPTS="-n admin:password" sq() { # single quote for Bourne shell evaluation ...
by WonderSir1234
Sun Jan 28, 2018 12:54 am
Forum: General
Topic: What user does the transmission for script-done running script after download
Replies: 7
Views: 1882

What user does the transmission for script-done running script after download

I'm having trouble running my download script after transmission completes. I figured out that it was a permissions problem. I fixed this by setting the chown to 777 for the folder in question. I don't want to keep the permissions 777 on that folder, however when I chown to transmission (the same us...