mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
reflector: add page (#2641)
This commit is contained in:
parent
55ffeb6833
commit
54a75ee772
1 changed files with 15 additions and 0 deletions
15
pages/linux/reflector.md
Normal file
15
pages/linux/reflector.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue