[Slackbuilds-users] Download url help

xpetrl xpetrl at aol.com
Fri Mar 22 17:15:10 UTC 2019


> i need help getting a valid download link for the info-file of a new 
> slackbuild, the website is 
> http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=polyglot.git;a=summary ,
> the source-file/snapshot is "Add forgotten files 1.4.70b snapshot"
> http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=polyglot.git;a=snapshot;h=5904a294b3b33dfd3ca11e4e48133151787f0d8f;sf=tgz 
> 
> 
> When downloaded via firefox, i get polyglot-5904a29.tar.gz, but wget 
> doesn't work, i get
> gitweb.cgi?p=polyglot.git with the website content.
> 

wget has an option to write the file name output (-O).
If the link you'd to download has some special character,
surround it with quotation.

wget 
"http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=polyglot.git;a=snapshot;h=5904a294b3b33dfd3ca11e4e48133151787f0d8f;sf=tgz" 
-O polyglot-5904a29.tar.gz


--
xpetrl


More information about the SlackBuilds-users mailing list