Re: [dev] [surf] downloads

From: Troels Henriksen <athas_AT_sigkill.dk>
Date: Sat, 05 Nov 2011 14:21:30 +0100

stanio_AT_cs.tu-berlin.de writes:

> * Troels Henriksen <athas_AT_sigkill.dk> [2011-11-05 12:51]:
>> There is a fix for this that involves using the
>> webkit_download_get_suggested_filename function and passing it to wget's
>> -O option, but I can't figure out how to prevent clobbering of an
>
> that might work?
> fn=$result_of_webkit_download_get_suggested_filename;
> while test -e $fn; do fn="$fn".1; done;
> wget -O $fn ...

Yep, but it's ugly. I may put it in unless someone can devise something
prettier.

-- 
\  Troels
/\ Henriksen
Received on Sat Nov 05 2011 - 14:21:30 CET

This archive was generated by hypermail 2.3.0 : Sat Nov 05 2011 - 14:24:03 CET