mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 01:50:55 +00:00
Update cheatsheets
This commit is contained in:
21
linux/reflector
Normal file
21
linux/reflector
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user