2018-12-16 05:27:37 +01:00
|
|
|
# reflector
|
|
|
|
|
|
|
|
> Arch script to fetch and sort mirrorlists.
|
2022-03-22 03:07:48 +10:00
|
|
|
> More information: <https://manned.org/reflector>.
|
2018-12-16 05:27:37 +01:00
|
|
|
|
|
|
|
- Get all mirrors, sort for download speed and save them:
|
|
|
|
|
|
|
|
`sudo reflector --sort {{rate}} --save {{/etc/pacman.d/mirrorlist}}`
|
|
|
|
|
|
|
|
- Only get German HTTPS mirrors:
|
|
|
|
|
|
|
|
`reflector --country {{Germany}} --protocol {{https}}`
|
|
|
|
|
|
|
|
- Only get the 10 recently sync'd mirrors:
|
|
|
|
|
|
|
|
`reflector --latest {{10}}`
|
2025-01-09 19:34:55 +02:00
|
|
|
|
|
|
|
- Use a configuration file to fetch mirrors:
|
|
|
|
|
|
|
|
`sudo reflector @{{/etc/xdg/reflector/reflector.conf}}`
|