summaryrefslogtreecommitdiff
path: root/man.md/reflector.1.md
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-07-01 10:01:01 +0200
committerErich Eckner <git@eckner.net>2020-07-01 10:01:01 +0200
commitf502900c02bcadd9dadceae8655e791a1a2a8321 (patch)
treefa0e4b623c1d72822130ac935e96291057f90f7e /man.md/reflector.1.md
parentd6db85cba16393bbe7651abcd631649fed836dd2 (diff)
downloadreflector32-f502900c02bcadd9dadceae8655e791a1a2a8321.tar.xz
reflector-2020.3.21.tar.xz
Diffstat (limited to 'man.md/reflector.1.md')
-rw-r--r--man.md/reflector.1.md47
1 files changed, 47 insertions, 0 deletions
diff --git a/man.md/reflector.1.md b/man.md/reflector.1.md
new file mode 100644
index 0000000..ef107ce
--- /dev/null
+++ b/man.md/reflector.1.md
@@ -0,0 +1,47 @@
+# Name
+
+reflector - retrieve and filter the latest Pacman mirrorlist
+
+# Synopsis
+
+`reflector [arguments]`
+
+
+# Description
+
+reflector is a Python script and associated Python module that can retrieve up-to-date Arch Linux mirror data from the [Mirror Status](https://www.archlinux.org/mirrors/status/) web interface.
+
+
+# Arguments
+
+See `reflector --help`.
+
+# Examples
+
+Print the latest mirrorlist to STDOUT:
+
+~~~{.sh}
+reflector
+~~~
+
+Sort the five most recently synchronized mirrors by download speed and overwrite the local mirrorlist:
+
+~~~{.sh}
+reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist
+~~~
+
+Select the 200 most recently synchronized HTTP or HTTPS mirrors, sort them by download speed, and overwrite the file /etc/pacman.d/mirrorlist:
+
+~~~{.sh}
+reflector --latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist
+~~~
+
+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` with the results:
+
+~~~{.sh}
+reflector --country France --country Germany --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
+~~~
+
+# See Also
+
+`pacman(8)`