MLDonkey: file_completed_cmd
Sample: Download file
If you have explored MLDonkey’s settings, you would have realized that you could trigger a command/shell script upon torrent’s completion.
I’ve included (along with this post) a sample shell script that shifts torrents to another location on the DNS-323 upon completion. Do note that this is a sample and it could have errors.
file_completed_cmd should contain a value which points to the location of mv_torrents.sh. For example if the full path to mv_torrents.sh is /mnt/HD_a2/mv_torrents.sh then the value of file_completed_cmd should be
file_completed_cmd = “/mnt/HD_a2/mv_torrents.sh”