cheval --https --ipv4 -c us -c au -c gb --sort score --take 10 -o /etc/pacman.d/mirrorlist
Order of operation:
- Filter
- Score && Sort
- Take
Filter mirrors by some criteria.
- Country
- HTTP/HTTPS capability
- IPv4/IPv6 capability
Score and then sort mirrors.
- Score given by the Mirror Status Page. Lower is better.
- Round trip time for a http get request
Limit the output to the first/best n mirrors.
The mirrorlist is cached between uses if it is not older then cache_secs
(default: 3600 secs = 1h).
To force a refresh of the list call the tool with the argument --cache-secs 0
.