mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] Send commands to core from commandline


From: Deklinator
Subject: [Mldonkey-users] Send commands to core from commandline
Date: Wed, 09 Oct 2002 17:14:32 +0200

Hy

I wrote a little script to send short commands to the mldonkey core (like "set max_hard_download_rate 12") or something like that.
i named it mldonkey_command.

I thinks it's a very handy script, Have fun with it *gg*

Dek

---SNIP---

#! /bin/sh
# Dek <address@hidden>
case $1 in
        "")
        echo "Usage: $0 ["mldonkey command" or ? for help]"
        ;;
    *)
        netcat localhost 4000 <<STOPHERE
        $1 $2
q
STOPHERE

        ;;
esac
exit 0

---SNAP----


--
Dek <address@hidden>
   "There are only 10 types of people in the world:
    Those who understand binary and those who don't."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]