dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit 87ba8dd969cc5ce56cd34c755a59b440b07d182c
parent 06799621309515b794344c57601747245fb2c402
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 24 Jun 2018 04:53:02 +0000

usr: Add cache-web.

* usr/local/bin/cache-web: New script.

Diffstat:
usr/local/bin/cache-web | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/usr/local/bin/cache-web b/usr/local/bin/cache-web @@ -0,0 +1,10 @@ +#!/bin/sh +# +# License: CC0-1.0 +# +LINKS_FILE=$HOME/.wget-links + +touch $LINKS_FILE && \ + wget --no-parent -Ekmp --directory-prefix=$HOME/.cached-web \ + --user-agent='Cache Web' \ + --input-file=$LINKS_FILE