Cache no-refresh and regexes

Mark Carroll mtbc at ixod.org
Sun May 14 02:22:47 PDT 2017


On 14 May 2017, Howard Orgel wrote:

> On Fri, 12 May 2017 22:22:13 +0100, Mark Carroll wrote:
>
>> Is there an antonym for --refresh? I wonder what's the cleanest way to
>> tell get_iplayer not to refresh the cache. I thought about trying to
>> exclude everything but the manpage doesn't seem to say what /kind/ of
>> regex is supported -- maybe it takes Perl-style regexes? I feel like I
>> am probably missing the obvious.
>
> Yep!  An antonym for --refresh is --refresh-exclude=<argument>, but you
> know this?  I use --refreshexclude .* on the command line to suppress
> automatic cache refreshes.  It works very well.
(snip)

Ha, thank you! Yes, it was being minded to try this kind of thing that
had me wondering what /kind/ of regex is supported. Also, though, "no
refresh" seems like such an simple and useful option that I wondered if
I were simply missing the obvious direct way to say it. (-:

-- Mark



More information about the get_iplayer mailing list