From 315e747a4c067752dfc69d3d2d6dc23f0c30d8c0 Mon Sep 17 00:00:00 2001 From: kaa Date: Wed, 3 Jul 2024 08:41:58 -0700 Subject: Public release. --- dl.rc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 dl.rc (limited to 'dl.rc') diff --git a/dl.rc b/dl.rc new file mode 100755 index 0000000..035334b --- /dev/null +++ b/dl.rc @@ -0,0 +1,10 @@ +#!/usr/local/plan9/bin/rc + +base = 'https://www.googleapis.com/books/v1/volumes?q=' +for (i in `{cat list}) { + if (test -f $i) { + } + if not { + curl $base$"i > $"i + } +} -- cgit v1.2.3