tldr/pages/linux/reflector.md

16 lines
350 B
Markdown
Raw Normal View History

2018-12-16 04:27:37 +00:00
# reflector
> Arch script to fetch and sort mirrorlists.
- 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}}`