1METALINK(1) General Commands Manual METALINK(1)
2
3
4
6 metalink — commandline metalink generator
7
9 metalink [input files] [ < mirror list]
10
12 This manual page documents briefly the metalink command.
13
14 This manual page was written for the Debian distribution because the
15 original program does not have a manual page.
16
17 metalink allows you to generate metalinks from a list of mirrors and a
18 collection of files. The files are hashed and the resulting metalink is
19 generated on the stdout.
20
22 These programs follow the usual GNU command line syntax, with long
23 options starting with two dashes (`-'). A summary of options is
24 included below.
25
26 -h --help
27 Produce a help message
28
29 --version
30 Print out the name and version.
31
32 --md5
33 Generate metalink from md5sum file(s).
34
35 --addpath path
36 Append a path to the mirrors ('/' is not checked)
37
38 --headerfile arg
39 Include file after the root element declaration.
40
41 --nomirrors
42 Don't read mirrors from stdin
43
44 --hashlist
45 List hashes only (implies nomirrors)
46
47 --desc arg
48 Add metalink description
49
50 -d arg
51 Include given digest
52
53 --mindigests
54 Include: md5 sha1
55
56 --somedigests
57 Include: md5 sha1 ed2k
58
59 --alldigests
60 Include all possible digests
61
62
63
64
65
66
67
68 Supported algorithms are (-d options): md4 md5 sha1 sha256 sha384
69 sha512 rmd160 tiger crc32 ed2k gnunet sha1pieces
70
71 Mirror lists are single line definitions according to: [location [pref‐
72 erence] [type] % ] mirror base url
73
75 http://example.com/ as a mirror: echo http://example.com | metalink -d
76 md5 -d sha1 *
77
78
79 http://example.com/ as a mirror with preference and location: echo us
80 10 % http://example.com | metalink -d md5 -d sha1 *
81
82 http://example.com/ as a mirror with preference only: echo 0 10 %
83 http://example.com | metalink -d md5 *
84
86 This manual page was written by A. Bram Neijt bneijt@gmail.com for the
87 Debian system (but may be used by others). Permission is granted to
88 copy, distribute and/or modify this document under the terms of the GNU
89 General Public License, Version 2 any later version published by the
90 Free Software Foundation.
91
92
93 On Debian systems, the complete text of the GNU General Public License
94 can be found in /usr/share/common-licenses/GPL.
95
96
97
98
99 METALINK(1)