summaryrefslogtreecommitdiff
path: root/getgmissing.sh
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-08-21 22:23:12 +0100
committerNick White <git@njw.me.uk>2011-08-21 22:23:12 +0100
commit85750ee58dea89bae829d4d30f41e83d99abc654 (patch)
tree2093b6b28657e92bb86516d41f1335a979cce83c /getgmissing.sh
parentba96802ba13f022047e93dfa96caddf4fff42146 (diff)
parent6b059ae1888b0cf8d38c7fe9b4f5c10ec28ab7b6 (diff)
Merge work using pages much more efficiently
Diffstat (limited to 'getgmissing.sh')
-rwxr-xr-xgetgmissing.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/getgmissing.sh b/getgmissing.sh
deleted file mode 100755
index e8198d8..0000000
--- a/getgmissing.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# See COPYING file for copyright and license details.
-#
-# This gets any pages listed as available that have not been
-# downloaded. Note that at present this is not too useful, as
-# an IP block will be imposed after the first x pages each run,
-# just for checking availaility.
-
-test $# -ne 1 && echo "usage: $0 bookid" && exit
-
-getgbook -p $1 2>/dev/null | while read i
-do
- code=`echo $i|awk '{print $1}'`
- num=`echo $i|awk '{print $2}'`
- test -n "$num" && num=`printf '%04d' $num` || num=$code
- test -f $num.png || echo $code | getgbook $1
-done