comparison 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
comparison
equal deleted inserted replaced
527:645025056dfa 528:311c926dd218
1 #!/bin/bash 1 #!/bin/bash
2 2
3 {% for dl in downloads %} 3 {% for dl in downloads %}
4 wget -O {{ dl.dest_filename }} {{ dl.full_url }} 4 wget -O {{ dl.dest_filename }} http://{{ domain }}{{ MEDIA_URL }}{{ dl.file.name|urlencode }}
5 {% endfor %} 5 {% endfor %}