Hi,
Slowly moving up in the world. Now i am writing some scripts, but i have run into a problem.
Right now i have written a script to move around a few torrents to clean up in my huge complete folder. I use a loop to go through each torrent and depending on some test parameters it will move the torrent to a certain harddrive. The problem is for big torrents (which is most of them) the command will time out. My script will then move to next iteration of the loop, but since transmission-remote is still busy moving the last torrent, the connection will timeout again.
my question then is, is there anyway to get transmission-remote to return some parameters so the my command wont timeout, or does anyone know an extension to add in bash to make the command not timeout?
thanks!
im using linux. headless archlinux, transmission 2.32 daemon and transmission-remote (cli) to connect to the daemon.
scipting: timeout reached when moving large files
Re: scipting: timeout reached when moving large files
if your script normally takes a long time to run, try doing this:
Code: Select all
#!/bin/bash
{
<your script>
} &