LinuxCommandLibrary

reflector

reflector

TLDR

Get all mirrors, sort for download speed and save them

$ sudo reflector --sort [rate] --save [/etc/pacman.d/mirrorlist]
copy


Only get German HTTPS mirrors
$ reflector --country [Germany] --protocol [https]
copy


Only get the 10 recently sync'd mirrors
$ reflector --latest [10]
copy

Copied to clipboard