jenux script (untested)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



#!/usr/bin/env bash
# mailto:dnl.nash@xxxxxxxxx
# url: https://nashcentral.duckdns.org/projects/
wget --spider -A 'Jenux-????.??.??-dual.iso.sha512' https://nashcentral.duckdns.org/projects/
if [ $? = 8 ]; then
    exit 1
fi
wget --quiet --recursive --no-check-certificate --no-directories -A 'Jenux-????.??.??-dual.iso.sha512' https://nashcentral.duckdns.org/projects/
sleep 2m
cfile=`ls -1 Jenux*.sha512`
wget -bc --recursive --no-check-certificate --no-directories -A 'Jenux-????.??.??-dual.iso' https://nashcentral.duckdns.org/projects/
 while [ -e wget-log ]; do
    sleep 30
    wc -l wget-log && grep -i saved wget-log && rm wget-log
 done
     sha512sum -c $cfile

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]