1 .TH AMULECMD 1 "January 2007" "aMuleCmd v2.2.0" "aMule utilities"
3 amulecmd \- Console-based program to control aMule
6 .RB [ \-h " " \fI<host> ]
7 .RB [ \-p " " \fI<port> ]
8 .RB [ \-P " " \fI<passwd> ]
9 .RB [ \-f " " \fI<path> ]
12 .RB [ \-l " " \fI<lang> ]
14 .RB [ \-c " " \fI<command> ]
17 .B \-\-create-config-from=\fI<path>
25 \fBamulecmd\fR is a console-based client to control aMule.
27 \fB\-h\fR, \fB\-\-host\fR=\fI<host>\fR
28 Host where aMule is running (default: \fIlocalhost\fR).
29 \fI<host>\fR might be an IP address or a DNS name
31 \fB\-p\fR, \fB\-\-port\fR=\fI<port>\fR
32 aMule's port for External Connections, as set in Preferences->Remote Controls (default: \fI4712\fR)
34 \fB\-P\fR, \fB\-\-password\fR=\fI<passwd>\fR
35 External Connections password
37 \fB\-f\fR, \fB\-\-config\-file\fR=\fI<path>\fR
38 Use the given configuration file.
39 Default configuration file is \fI~/.aMule/remote.conf\fR
41 \fB\-q\fR, \fB\-\-quiet\fR
42 Ddo not print any output to stdout. This seems to be a very much useless option with \fBamulecmd\fR.
44 \fB\-v\fR, \fB\-\-verbose\fR
45 Be verbose \- show also debug messages
47 \fB\-l\fR, \fB\-\-locale\fR=\fI<lang>\fR
48 Sets program locale (language).
49 See section \fBLANGUAGES\fR for the description of the \fI<lang>\fR parameter.
51 \fB\-w\fR, \fB\-\-write\-config\fR
52 Write command line options to config file and exit
54 \fB\-c\fR, \fB\-\-command\fR=\fI<command>\fR
55 Execute \fI<command>\fR as if it was entered at amulecmd's prompt and exit.
57 \fB\-\-create\-config\-from\fR=\fI<path>\fR
58 Create config file based upon \fI<path>\fR, which must point to a valid aMule config file, and then exit
61 Prints a short usage description.
64 Displays the current version number.
66 All commands are case insensitive
67 .SS \fBAdd\fR <ed2k-link>
68 Adds an ed2k-linkto the core.
70 The ed2k link to be added can be:
72 *) a file link (ed2k://|file|...), it will be added to the download queue,
74 *) a server link (ed2k://|server|...), it will be added to the server list,
76 *) or a serverlist link, in which case all servers in the list will be added to the server list.
78 This command must have an argument.
79 .SS \fBCancel\fR <hash>
80 Cancels the download specified by hash. To get the hash use \fIshow\fR.
81 .SS \fBConnect\fR (kad|ed2k<ip|name>)
82 Connect to the network.
84 This will connect to all networks that are enabled in Preferences.
86 When giving ed2k as parameter, it connects only to ed2k-network to servers in your
87 serverlist. You may also optionally specify a server address in IP:Port form, to
88 connect to that server only. The IP must be a dotted decimal IPv4 address, or a
91 When giving kad, it connects to Kad only.
92 .SS \fBDisconnect\fR (ed2k|kad)
94 Disconnect from all networks you are cionnected to, or just disconnect from the
96 .SS \fBDownload\fR num
97 Start downloading a file
99 The number of a file from the last search has to be given.
100 Example: 'download 12' will start to download the file with the number 12 of the
103 This command must have an argument.
105 Disconnect from amule/amuled and quit amulecmd.
107 Get and display a preference value.
109 This command is incomplete, aviable values are listed below.
111 Available values to get:
113 BwLimits Get bandwidth limits.
115 IPFilter Get IPFilter preferences.
116 .SS \fBHelp\fR <command>
118 If called without parameter, it shows a list of aviable commands.
119 If called with <command>, it shows a short description of the given command.
120 .SS \fBPause\fR <hash>
121 Pauses the download specified by hash. To get the hash use \fIshow\fR.
123 Shows the progress of an ongiong search.
125 This command can't have an argument.
129 This command can't have an argument.
131 Reloads a given object.
133 This command is incomplete, aviable values are listed below.
135 Available values to get:
137 BwLimits Reload bandwidth limits.
139 IPFilter Reload IPFilter preferences.
143 This command can't have an argument.
145 Shows you the results of the last search.
147 This command can't have an argument.
148 .SS \fBResume\fR <hash>
149 Resumes the download specified by hash. To get the hash use \fIshow\fR.
150 .SS \fBSearch\fR global|kad|local file
151 Makes a search for the given file. A searchtype and a file to search is mandatory
153 \fIExample\fR 'search kad amule' performs a kad search for amule.
157 global performs a global search
159 kad performs a search on kad network
161 local performs a local search
162 .SS \fBSet\fR <value>
163 Sets a given preferences value.
165 This command is incomplete, aviable values are listed below.
167 Available values to get:
169 BwLimits Set bandwidth limits.
171 IPFilter Set IPFilter preferences.
172 .SS \fBShow\fR DL|Log|Servers|UL
173 Shows upload/download queue, server list or shared files list.
175 This command must have an argument.
177 This command is incomplete, you must use one of the extensions below.
179 Available extensions:
181 DL Show download queue.
185 Servers Show servers list.
187 UL Show upload queue.
189 Shutdown the remote running core (amule/amuled).
190 This will also shut down the text client, since it is unusable without a running
193 This command can't have an argument.
194 .SS \fBStatistics\fR <num>
195 Show statistics tree.
197 The optional number in the range of 0-255 can be passed as argument to this
198 command, which tells how many entries of the client version subtree should be
199 shown. Passing 0, or omitting it means 'unlimited'.
201 \fIExample:\fR 'statistics 5' will show only the top 5 versions for each client
204 Show connection status, current up/download speeds, etc.
208 For all options which take a \fI<path>\fR value, if the \fIpath\fR contains no
209 directory part (i.e. just a plain filename), then it is considered to be under
210 the aMule configuration directory, \fI~/.aMule\fR.
212 The \fI<lang>\fR parameter for the \fB\-l\fR option has the following form: \fIlang\fR[\fB_\fILANG\fR][\fB.\fIencoding\fR][\fB@\fImodifier\fR]
213 where \fIlang\fR is the primary language, \fILANG\fR is a sublanguage/territory,
214 \fIencoding\fR is the character set to use and \fImodifier\fR
215 "allows the user to select a specific instance of localization data within a
218 For example, the following strings are valid:
230 Though all the above strings are accepted as valid language definitions,
231 \fIencoding\fR and \fImodifier\fR are yet unused.
233 In addition to the format above, you can also specify full language names in
234 English - so \fB\-l german\fR is also valid and is equal to \fB-l de_DE\fR.
236 When no locale is defined, either on command-line or in config file, system
237 default language will be used.
241 Typically amulecmd will be first run as:
243 \fBamulecmd\fR \fB\-h\fR \fIhostname\fR \fB\-p\fR \fIECport\fR \fB\-P\fR \fIECpassword\fR \fB\-w\fR
247 \fBamulecmd\fR \fB\-\-create-config-from\fR=\fI/home/username/.aMule/amule.conf\fR
249 These will save settings to \fI$HOME/.aMule/remote.conf\fR, and later you only need to type:
253 Of course, you don't have to follow this example.
255 Please report bugs either on our forum (\fIhttp://forum.amule.org/\fR), or in our bugtracker (\fIhttp://bugs.amule.org/\fR).
256 Please do not report bugs in e-mail, neither to our mailing list nor directly to any team member.
258 aMule and all of its related utilities are distributed under the GNU General Public License.
260 \fBamule\fR(1), \fBamuleweb\fR(1)