1 .TH AMULECMD 1 "January 2010" "aMuleCmd v2.2.6" "aMule utilities"
3 .als RB_untranslated RB
5 amulecmd \- Console-based program to control aMule
7 .B_untranslated amulecmd
8 .RB [ \-h " " \fI<host> ]
9 .RB [ \-p " " \fI<port> ]
10 .RB [ \-P " " \fI<password> ]
11 .RB [ \-f " " \fI<path> ]
12 .RB_untranslated [ \-q ]
13 .RB_untranslated [ \-v ]
14 .RB [ \-l " " \fI<lang> ]
15 .RB { " " [ \-w ] " " | " " [ \-c " " \fI<command> ] " " }
17 .B_untranslated amulecmd
18 .RB [ \-\-create\-config\-from " " \fI<path> ]
20 .B_untranslated amulecmd
21 .RB_untranslated [ \-\-version ]
23 .B_untranslated amulecmd
24 .RB_untranslated [ \-\-help ]
26 .B_untranslated amulecmd
27 is a console-based client to control aMule.
29 \fB[ \-h\fR \fI<host>\fR, \fB\-\-host\fR=\fI<host>\fR \fB]\fR
30 Host where aMule is running (default: \fIlocalhost\fR).
31 \fI<host>\fR might be an IP address or a DNS name
33 \fB[ \-p\fR \fI<port>\fR, \fB\-\-port\fR=\fI<port>\fR \fB]\fR
34 aMule's port for External Connections, as set in Preferences->Remote Controls (default: \fI4712\fR)
36 \fB[ \-P\fR \fI<password>\fR, \fB\-\-password\fR=\fI<password>\fR \fB]\fR
37 External Connections password.
39 \fB[ \-f\fR \fI<path>\fR, \fB\-\-config\-file\fR=\fI<path>\fR \fB]\fR
40 Use the given configuration file.
41 Default configuration file is \fI~/.aMule/remote.conf\fR
43 .B_untranslated [ \-q\fR, \fB\-\-quiet ]\fR
44 Do not print any output to stdout.
46 .B_untranslated [ \-v\fR, \fB\-\-verbose ]\fR
48 show also debug messages.
50 \fB[ \-l\fR \fI<lang>\fR, \fB\-\-locale\fR=\fI<lang>\fR \fB]\fR
51 Sets program locale (language).
52 See section \fBLANGUAGES\fR for the description of the \fI<lang>\fR parameter.
54 .B_untranslated [ \-w\fR, \fB\-\-write\-config ]\fR
55 Write command line options to config file and exit
57 \fB[ \-c\fR \fI<command>\fR, \fB\-\-command\fR=\fI<command>\fR \fB]\fR
58 Execute \fI<command>\fR as if it was entered at amulecmd's prompt and exit.
60 \fB[ \-\-create\-config\-from\fR=\fI<path>\fR \fB]\fR
61 Create config file based upon \fI<path>\fR, which must point to a valid aMule config file, and then exit
63 .B_untranslated [ \-v\fR, \fB\-\-version ]\fR
64 Displays the current version number.
66 .B_untranslated [ \-h\fR, \fB\-\-help ]\fR
67 Prints a short usage description.
69 All commands are case insensitive.
70 .SS \fBAdd\fR \fI<eD2k-link>\fR \fB|\fR \fI<magnet-link>\fR
71 Adds an eD2k-link or an magnet-link to the core.
73 The eD2k link to be added can be:
75 *) a file link (ed2k://|file|...), it will be added to the download queue;
78 *) a server link (ed2k://|server|...), it will be added to the server list;
81 *) a serverlist link, in which case all servers in the list will be added to the server list;
84 The magnet link must contain the eD2k hash and file length.
86 This command must have an argument.
87 .SS \fBCancel\fR \fI<hash>\fR \fB|\fR \fI<number>\fR
88 Cancels the download specified by \fI<hash>\fR or \fI<number>\fR. To get the value use \fIshow\fR.
89 .SS \fBConnect\fR \fB[\fR \fIkad\fR \fB|\fR \fIed2k\fR \fB|\fR \fI<ip|name>\fR \fB]\fR
90 Connect to the network.
92 This will connect to all networks that are enabled in Preferences.
94 When giving ed2k as parameter, it connects only to eD2k-network to servers in your
95 serverlist. You may also optionally specify a server address in IP:Port form, to
96 connect to that server only. The IP must be a dotted decimal IPv4 address, or a
99 When giving kad, it connects to Kad only.
100 .SS \fBDisconnect\fR \fB[\fR \fI<ed2k>\fR \fB|\fR \fI<kad>\fR \fB]\FR
102 Disconnect from all networks you are connected to, or just disconnect from the
104 .SS \fBDownload\fR \fI<number>\fR
105 Start downloading a file.
107 The \fI<number>\fR of a file from the last search has to be given.
108 Example: 'download 12' will start to download the file with the number 12 of the
111 This command must have an argument.
113 Disconnect from amule/amuled and quit amulecmd.
114 .SS \fBGet\fR \fI<value>\fR
116 Get and display a preference value.
118 This command is incomplete, available values are listed below.
129 IPFilter preferences.
130 .SS \fBHelp [\fR \fI<command>\fR \fB]\fR
131 Prints a short usage description.
132 If called without parameter, it shows a list of available commands.
133 If called with \fI<command>\fR, it shows a short description of the given command.
134 .SS \fBPause\fR \fI<hash>\fR \fB|\fR \fI<number>\fR
135 Pauses the download specified by \fI<hash>\fR or \fI<number>\fR. To get the value use \fIshow\fR.
136 .SS \fBPriority\fR \fI<priority>\fR
138 Set priority of a download to Low, Normal, High or Auto.
140 This command must have an argument.
142 This command is incomplete, available values are listed below.
147 \[u0009] Set priority to auto.
151 \[u0009] Set priority to high.
155 \[u0009] Set priority to low.
159 \[u0009] Set priority to normal.
161 Shows the progress of an on\-going search.
163 This command can't have an argument.
167 This command can't have an argument.
168 .SS \fBReload\fR \fI<object>\fR
170 Reloads a given object.
172 This command is incomplete, available values are listed below.
183 IPFilter preferences.
187 This command can't have an argument.
189 Shows you the results of the last search.
191 This command can't have an argument.
192 .SS \fBResume\fR \fI<hash>\fR \fB|\fR \fI<number>\fR
193 Resumes the download specified by \fI<hash>\fR or \fI<number>\fR. To get the value use \fIshow\fR.
194 .SS \fBSearch\fR \fIglobal\fR \fB|\fR \fIkad\fR \fB|\fR \fIlocal\fR \fI<file>\fR
195 Makes a search for the given \fI<file>\fR. A searchtype and a file to search is mandatory to do this.
196 \fIExample\fR 'search kad amule' performs a kad search for amule.
201 \[u0009] performs a global search
205 \[u0009] performs a search on kad network
209 \[u0009] performs a local search
210 .SS \fBSet\fR \fI<value>\fR
211 Sets a given preferences value.
213 This command is incomplete, available values are listed below.
224 IPFilter preferences.
225 .SS \fBShow\fR \fIDL\fR \fB|\fR \fILog\fR \fB|\fR \fIServers\fR \fB|\fR \fIUL\fR
226 Shows upload/download queue, servers list or shared files list.
228 This command must have an argument.
230 This command is incomplete, available values are listed below.
235 \[u0009] Show download queue.
243 \[u0009] Show servers list.
247 \[u0009] Show upload queue.
249 Shutdown the remote running core (amule/amuled).
250 This will also shut down the text client, since it is unusable without a running core.
252 This command can't have an argument.
253 .SS \fBStatistics\fR <number>
254 Show statistics tree.
256 The optional \fInumber\fR in the range of 0-255 can be passed as argument to this
257 command, which tells how many entries of the client version subtree should be
258 shown. Passing 0, or omitting it means 'unlimited'.
260 \fIExample:\fR 'statistics 5' will show only the top 5 versions for each client
263 Show connection status, current up/download speeds, etc.
267 For all options which take a \fI<path>\fR value, if the \fIpath\fR contains no
268 directory part (i.e. just a plain filename), then it is considered to be under
269 the aMule configuration directory, \fI~/.aMule\fR.
271 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]
272 where \fIlang\fR is the primary language, \fILANG\fR is a sublanguage/territory,
273 \fIencoding\fR is the character set to use and \fImodifier\fR
274 allows the user to select a specific instance of localization data within a
277 For example, the following strings are valid:
293 Though all the above strings are accepted as valid language definitions,
294 \fIencoding\fR and \fImodifier\fR are yet unused.
296 In addition to the format above, you can also specify full language names in
297 English - so \fB\-l german\fR is also valid and is equal to \fB-l de_DE\fR.
299 When no locale is defined, either on command-line or in config file, system
300 default language will be used.
304 Typically amulecmd will be first run as:
306 \fBamulecmd\fR \fB\-h\fR \fIhostname\fR \fB\-p\fR \fIECport\fR \fB\-P\fR \fIECpassword\fR \fB\-w\fR
310 \fBamulecmd\fR \fB\-\-create-config-from\fR=\fI/home/username/.aMule/amule.conf\fR
312 These will save settings to \fI$HOME/.aMule/remote.conf\fR, and later you only need to type:
314 .B_untranslated amulecmd
316 Of course, you don't have to follow this example.
318 Please report bugs either on our forum (\fIhttp://forum.amule.org/\fR), or in our bugtracker (\fIhttp://bugs.amule.org/\fR).
319 Please do not report bugs in e-mail, neither to our mailing list nor directly to any team member.
321 aMule and all of its related utilities are distributed under the GNU General Public License.
323 .B_untranslated amule\fR(1), \fBamuled\fR(1)
325 This manpage was written by Vollstrecker <amule@vollstreckernet.de>