summaryrefslogtreecommitdiff
path: root/man/reflector.1
blob: dc2da4dc6ec3a70a3e70a4154bad26cb5eceab2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.TH reflector 1 "12 October 2019" "2019.3-1" "User Commands"
.SH NAME
reflector \- retrieve and filter the latest Pacman mirror list

.SH SYNOPSIS
.B reflector 
[arguments]

.SH DESCRIPTION
.B reflector 
is a Python script and module that can retrieve and filter the Pacman mirror list and overwrite /etc/pacman.d/mirrorlist.

.SH ARGUMENTS

See 
.B reflector 
--help

.SH EXAMPLES

Print the latest mirrorlist to stdout:

.RS
.B reflector
.RE

Sort the five most recently synchronized mirrors by download speed and overwrite the local mirrorlist:

.RS
.B reflector 
--latest 5 --sort rate --save /etc/pacman.d/mirrorlist
.RE

Select the 200 most recently synchronized HTTP or HTTPS mirrors, sort them by download speed, and overwrite the file /etc/pacman.d/mirrorlist:

.RS
.B reflector 
--latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist
.RE

Select the HTTPS mirrors synchronized within the last 12 hours and located in either France or Germany, sort them by download speed, and overwrite the file /etc/pacman.d/mirrorlist:

.RS
.B reflector 
--country France --country Germany --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
.RE

.SH AUTHOR
.B reflector 
was written and is maintained by 
.B Xyne 
(https://xyne.archlinux.ca/).

.SH SEE ALSO
pacman(8)