aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/download.sh
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-03-13 22:21:32 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2011-03-13 22:21:32 -0600
commitade2d7564e1e4687ed7d24ef09be29deb54081c7 (patch)
tree3dfbe5da60ef919726b8ea385d96b76d71854089 /examples/data/scripts/download.sh
parent8572aefe9cfd0e58e3fa4021183285095670a6fa (diff)
give an example in the new download skeleton
Diffstat (limited to 'examples/data/scripts/download.sh')
-rwxr-xr-xexamples/data/scripts/download.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/data/scripts/download.sh b/examples/data/scripts/download.sh
index ca8728c..fe566ed 100755
--- a/examples/data/scripts/download.sh
+++ b/examples/data/scripts/download.sh
@@ -27,6 +27,10 @@ total_size="$1"
shift
case "$suggested_filename" in
+ # example: save torrents to a separate directory
+ #*.torrent)
+ # path="$UZBL_DOWNLOAD_DIR/torrents/$suggested_filename"
+ # ;;
# Default case
*)
path="$UZBL_DOWNLOAD_DIR/$suggested_filename"