view gpp/templates/downloads/commands/wget_cat.html @ 528:311c926dd218

Must urlencode the filenames.
author Brian Neal <bgneal@gmail.com>
date Wed, 21 Dec 2011 01:25:10 +0000
parents 645025056dfa
children
line wrap: on
line source
#!/bin/bash

{% for dl in downloads %}
wget -O {{ dl.dest_filename }} http://{{ domain }}{{ MEDIA_URL }}{{ dl.file.name|urlencode }}
{% endfor %}