diff gpp/templates/downloads/commands/wget_cat.html @ 527:645025056dfa

Adding some management commands to the downloads application to help manage the SG101 MP3 compilations. Added a command to generate a HTML report of all the downloads in a given category. Added a command that generates a bash script that wgets all the files in a category.
author Brian Neal <bgneal@gmail.com>
date Wed, 21 Dec 2011 01:08:21 +0000
parents
children 311c926dd218
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/templates/downloads/commands/wget_cat.html	Wed Dec 21 01:08:21 2011 +0000
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+{% for dl in downloads %}
+wget -O {{ dl.dest_filename }} {{ dl.full_url }}
+{% endfor %}