Hi:

Here is the ArchLinux direct download URL which can be used in automation 
scripts.

wget --continue 
http://mirror.rackspace.com/archlinux/iso/2021.04.01/sha1sums.txt
wget --continue 
http://mirror.rackspace.com/archlinux/iso/2021.04.01/archlinux-2021.04.01-x86_64.iso

and then use for hash verification

sha1sum --ignore-missing --check sha1sums.txt

the output would be likek

archlinux-2021.04.01-x86_64.iso: OK

which can be split over ': ' to compare with 'OK'.


warm regards
Saifi.

Reply via email to