1 .TH AMULECMD 1 "November 2011" "aMuleCmd v2.3.1" "aMule utilities"
3 .als RB_untranslated RB
4 .als SS_untranslated SS
6 amulecmd \- Console-based program to control aMule
8 .B_untranslated amulecmd
9 .RB [ \-h " " \fI<host> ]
10 .RB [ \-p " " \fI<port> ]
11 .RB [ \-P " " \fI<password> ]
12 .RB [ \-f " " \fI<path> ]
13 .RB_untranslated [ \-q ]
14 .RB_untranslated [ \-v ]
15 .RB [ \-l " " \fI<lang> ]
16 .RB { " " [ \-w ] " " | " " [ \-c " " \fI<command> ] " " }
18 .B_untranslated amulecmd
19 .RB [ \-\-create\-config\-from = \fI<path> ]
21 .B_untranslated amulecmd
22 .RB_untranslated [ \-\-version ]
24 .B_untranslated amulecmd
25 .RB_untranslated [ \-\-help ]
28 is a console-based client to control aMule.
30 \fB[ \-h\fR \fI<host>\fR, \fB\-\-host\fR=\fI<host>\fR \fB]\fR
31 Host where aMule is running (default: \fIlocalhost\fR).
32 \fI<host>\fR might be an IP address or a DNS name
34 \fB[ \-p\fR \fI<port>\fR, \fB\-\-port\fR=\fI<port>\fR \fB]\fR
35 aMule's port for External Connections, as set in Preferences->Remote Controls (default: \fI4712\fR)
37 \fB[ \-P\fR \fI<password>\fR, \fB\-\-password\fR=\fI<password>\fR \fB]\fR
38 External Connections password.
40 \fB[ \-f\fR \fI<path>\fR, \fB\-\-config\-file\fR=\fI<path>\fR \fB]\fR
41 Use the given configuration file.
42 Default configuration file is \fI~/.aMule/remote.conf\fR
44 .B_untranslated [ \-q\fR, \fB\-\-quiet ]\fR
45 Do not print any output to stdout.
47 .B_untranslated [ \-v\fR, \fB\-\-verbose ]\fR
49 show also debug messages.
51 \fB[ \-l\fR \fI<lang>\fR, \fB\-\-locale\fR=\fI<lang>\fR \fB]\fR
52 Sets program locale (language).
53 See the \fBNOTES\fR section for the description of the \fI<lang>\fR parameter.
55 .B_untranslated [ \-w\fR, \fB\-\-write\-config ]\fR
56 Write command line options to config file and exit
58 \fB[ \-c\fR \fI<command>\fR, \fB\-\-command\fR=\fI<command>\fR \fB]\fR
59 Execute \fI<command>\fR as if it was entered at amulecmd's prompt and exit.
61 \fB[ \-\-create\-config\-from\fR=\fI<path>\fR \fB]\fR
62 Create config file based upon \fI<path>\fR, which must point to a valid aMule config file, and then exit.
64 .B_untranslated [ \-v\fR, \fB\-\-version ]\fR
65 Displays the current version number.
67 .B_untranslated [ \-h\fR, \fB\-\-help ]\fR
68 Prints a short usage description.
70 All commands are case insensitive.
71 .SS Add \fI<eD2k-link>\fP | \fI<magnet-link>\fP
72 Adds an eD2k-link or a magnet-link to the core.
74 The eD2k link to be added can be:
77 a file link (ed2k://|file|...), it will be added to the download queue;
79 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.
85 .SS Cancel \fI<hash>\fP | \fI<number>\fP
86 Cancels the download specified by \fI<hash>\fR or \fI<number>\fR. To get the value use \fBshow\fR.
87 .SS Connect [ \fIkad\fP | \fIed2k\fP | \fI<ip|name>\fP ]
88 Connect to the network.
90 This will connect to all networks that are enabled in Preferences.
92 With the optional parameter you can specify which network to connect to. Giving
93 a server address in the form of IP:Port (where IP is either a dotted decimal
94 IPv4 address or a resolvable DNS name) aMule will connect to that server only.
95 .SS_untranslated Disconnect [ \fIed2k\fP | \fIkad\fP ]
96 Disconnect from all networks you are connected to, or just disconnect from the
98 .SS Download \fI<number>\fP
99 Start downloading a file.
101 The \fI<number>\fR of a file from the last search has to be given.
102 Example: `download 12' will start to download the file with the number 12 of the
104 .SS_untranslated Exit
105 Disconnect from amule/amuled and quit amulecmd.
107 Get and display a preference value.
109 Available values for \fI<what>\fR:
112 Get bandwidth limits.
114 Get IPFilter preferences.
116 .SS Help [ \fI<command>\fP ]
117 Prints a short usage description.
118 If called without parameter, it shows a list of available commands.
119 If called with \fI<command>\fR, it shows a short description of the given command.
120 .SS Pause \fI<hash>\fP | \fI<number>\fP
121 Pauses the download specified by \fI<hash>\fR or \fI<number>\fR. To get the value use \fBshow\fR.
122 .SS Priority \fI<priority>\fP \fI<hash>\fP | \fI<number>\fP
123 Set priority of a download specified by \fI<hash>\fR or \fI<number>\fR.
125 Available values for \fI<priority>\fR:
136 .SS_untranslated Progress
137 Shows the progress of an on\-going search.
138 .SS_untranslated Quit
139 A synonim of the \fBexit\fR command.
140 .SS Reload \fI<what>\fP
141 Reloads a given object.
143 Available values for \fI<what>\fR:
146 Reload shared files list.
148 Reload IP filter tables.
150 .SS_untranslated Reset
152 .SS_untranslated Results
153 Shows you the results of the last search.
154 .SS Resume \fI<hash>\fP | \fI<number>\fP
155 Resumes the download specified by \fI<hash>\fR or \fI<number>\fR. To get the value use \fBshow\fR.
156 .SS Search \fI<type>\fP \fI<keyword>\fR
157 Makes a search for the given \fI<keyword>\fR. A search type and a keyword to search is mandatory to do this.
158 Example: `search kad amule' performs a kad search for `amule'.
160 Available search types:
163 Performs a global search.
165 Performs a search on the Kademlia network.
167 Performs a local search.
170 Sets a given preferences value.
172 Available values for \fI<what>\fR:
175 Set bandwidth limits.
177 Set IPFilter preferences.
179 .SS Show \fI<what>\fR
180 Shows upload/download queue, servers list or shared files list.
182 Available values for \fI<what>\fR:
193 .SS_untranslated Shutdown
194 Shutdown the remote running core (amule/amuled).
195 This will also shut down the text client, since it is unusable without a running core.
196 .SS Statistics [ \fI<number>\fP ]
197 Show statistics tree.
199 The optional \fI<number>\fR in the range of 0-255 can be passed as argument to this
200 command, which tells how many entries of the client version subtree should be
201 shown. Passing 0, or omitting it means `unlimited'.
203 Example: `statistics 5' will show only the top 5 versions for each client
205 .SS_untranslated Status
206 Show connection status, current up/download speeds, etc.
209 For all options which take a \fI<path>\fR value, if the \fIpath\fR contains no
210 directory part (i.e. just a plain filename), then it is considered to be under
211 the aMule configuration directory, \fI~/.aMule\fR.
213 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]
214 where \fIlang\fR is the primary language, \fILANG\fR is a sublanguage/territory,
215 \fIencoding\fR is the character set to use and \fImodifier\fR
216 allows the user to select a specific instance of localization data within a
219 For example, the following strings are valid:
223 .RB_untranslated de_DE
225 .RB_untranslated de_DE.iso88591
227 .RB_untranslated de_DE@euro
229 .RB_untranslated de_DE.iso88591@euro
232 Though all the above strings are accepted as valid language definitions,
233 \fIencoding\fR and \fImodifier\fR are yet unused.
235 In addition to the format above, you can also specify full language names in
236 English - so \fB\-l german\fR is also valid and is equal to \fB\-l de_DE\fR.
238 When no locale is defined, either on command-line or in config file, system
239 default language will be used.
243 Typically amulecmd will be first run as:
245 \fBamulecmd\fR \fB\-h\fR \fIhostname\fR \fB\-p\fR \fIECport\fR \fB\-P\fR \fIECpassword\fR \fB\-w\fR
249 \fBamulecmd\fR \fB\-\-create-config-from\fR=\fI/home/username/.aMule/amule.conf\fR
251 These will save settings to \fI$HOME/.aMule/remote.conf\fR, and later you only need to type:
253 .B_untranslated amulecmd
255 Of course, you don't have to follow this example.
257 Please report bugs either on our forum (\fIhttp://forum.amule.org/\fR), or in our bugtracker (\fIhttp://bugs.amule.org/\fR).
258 Please do not report bugs in e-mail, neither to our mailing list nor directly to any team member.
260 aMule and all of its related utilities are distributed under the GNU General Public License.
262 .B_untranslated amule\fR(1), \fBamuled\fR(1)
264 This manpage was written by Vollstrecker <amule@vollstreckernet.de>