summaryrefslogtreecommitdiff
path: root/man/reflector.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/reflector.1')
-rw-r--r--man/reflector.155
1 files changed, 55 insertions, 0 deletions
diff --git a/man/reflector.1 b/man/reflector.1
new file mode 100644
index 0000000..dc2da4d
--- /dev/null
+++ b/man/reflector.1
@@ -0,0 +1,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)