Tech

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”

This site contains links to Amazon. These links will take you to some of the products mentioned in today’s article. As an Amazon Associate, I earn from qualifying purchases.
7 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments