Hi, 2014-06-26 23:06 David Spencer <baildon.resea...@googlemail.com>:
> By the way, to download with the right filename from the command line, > you can use --content-disposition on the wget command line, or set the > default for wget using 'content_disposition=on' in ~/.wgetrc or > /etc/wgetrc (recommended for sbopkg users), or curl -J > > I think the following are affected: > > [...] > multimedia/cantata > [...] I maintain the cantata slackbuild, and just tested that with the download link of cantata displayed on slackbuilds.org: wget --content-disposition "https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60WTYtaXk3c1IzNVU" Now the downloaded file is named "cantata-1.3.4.tar.bz2cantata-1.3.4.tar.bz2" "Content-Disposition".. As if URLs with the real filenames wouldn't work as good :/ The cantata slackbuild checks for both names, the good one "cantata-1.3.4.tar.bz2" and the ugly one that wget downloads and extracts the one it finds. Bye, Ruben _______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/