mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 09:41:36 +00:00
22 lines
494 B
Plaintext
22 lines
494 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# reflector
|
|
|
|
> Arch script to fetch and sort mirrorlists.
|
|
> More information: <https://manned.org/reflector>.
|
|
|
|
- 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}}`
|