bug-bash
[Top][All Lists]
Advanced

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

Re: r.f.e.


From: Ángel González
Subject: Re: r.f.e.
Date: Fri, 04 Mar 2016 02:33:51 +0100

> On another note, you can pass the list of downloads without a
> temporary
> file:
> 
> {
>   echo http://example.com
>   echo http://test.com
> } | wget --input-file=-
> 

Or, written even more cleanly:

cat <<EOF | wget --continue --trust-server-names --max-redirect=10000 --tries=0 
--input-file=-
https://sourceforge.net/projects/sonargnulinux/files/sonar-mate-edition-2016.03-x86_64.iso/download
https://sourceforge.net/projects/sonargnulinux/files/sonar-gnome-edition-2016.03-x86_64.iso/download
https://sourceforge.net/projects/sonargnulinux/files/sonar-mate-edition-2016.03-x86_64.iso.sha512/download
https://sourceforge.net/projects/sonargnulinux/files/sonar-gnome-edition-2016.03-x86_64.iso.sha512/download
EOF
sha512sum -c sonar-*-edition-2016.03-x86_64.iso.sha512




reply via email to

[Prev in Thread] Current Thread [Next in Thread]