[SOLVED] Use only https with alias "ram"?

A place to share tips, guides, application configurations and scripts about all elements of ArcoLinux, all of your personal configurations to make ArcoLinux awesome
Post Reply
User avatar
TomInTheDungeon
Crewman
Posts: 67
Joined: Thu Dec 13, 2018 2:39 pm
Location: Paul, Idaho, USA

Using a regular alias "mirror", https can be stipulated. How can https be required using the alias "ram"?

Code: Select all

alias mirrorxx="sudo reflector --age 6 --latest 20  --fastest 20 --threads 20 --sort rate --protocol https --save /etc/pacman.d/mirrorlist"
alias ram='rate-mirrors --allow-root arch | sudo tee /etc/pacman.d/mirrorlist'
From "The Orville": Humans - The hillbillies of the universe!
User avatar
erikdubois
Captain
Posts: 5137
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Here is your study material

https://github.com/westandskif/rate-mirrors

via pamac you can find the source
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
User avatar
TomInTheDungeon
Crewman
Posts: 67
Joined: Thu Dec 13, 2018 2:39 pm
Location: Paul, Idaho, USA

OK, studied, feeling less than intelligent. :? Unable to comprehend what probably is simple for you.

Code: Select all

https://mirror-a.mirrors.org/best-linux-distro/
US\thttps://mirror-b.mirrors.org/best-linux-distro/
https://mirror-c.mirrors.org/best-linux-distro/\tDE
https://mirror-d.mirrors.org/best-linux-distro/\tAustria
From "The Orville": Humans - The hillbillies of the universe!
User avatar
TomInTheDungeon
Crewman
Posts: 67
Joined: Thu Dec 13, 2018 2:39 pm
Location: Paul, Idaho, USA

Found it on the update. Thank you very much, you're the best!
From "The Orville": Humans - The hillbillies of the universe!
User avatar
erikdubois
Captain
Posts: 5137
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

I wondered if you would find it

:D :lol: :) ;)
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
Post Reply

Return to “Configs, Scripts”