On 02/23/2017 03:28 PM, Christian Boltz wrote:
> Hello,
>
> Am Donnerstag, 16. Februar 2017, 19:58:39 CET schrieb Robert Moskowitz:
>> On a mail server with no GUI, is there a nice wget command to download
>> the .tar.gz directly to the server?
>>
>> Something like
>>
>> wget
>> https://sourceforge.net/projects/postfixadmin/<mumble-mumble>/postfixa
>> dmin-n.n.n.tar.gz
>>
>> ?
>>
>> Or does this defeat the download count feature of sourceforge?
> AFAIK Sourceforge doesn't provide direct wget'able download URLs, so
> you'll always have to start at the web interface.
>
> My usual trick is to copy the link behind "if the download doesn't start
> automatically, click here" - it points to the tarball on a mirror and
> can be used with wget.
I discovered that:
wget https://sourceforge.net/projects/postfixadmin/files/latest/download
downloads the tarball as file 'download'
Rename it and you are on your way.
I got this URL from right clicking on the download button then copying link.
>
>
> Regards,
>
> Christian Boltz
|