diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-02-20 16:05:25 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-02-20 16:05:25 +0100 |
| commit | 7885a180e1b3ddc37ef2192c74a897b911e48a14 (patch) | |
| tree | bac496d50008c035668d7e6c0143b7ecabd3193d /scraper/pdf_dump_first_page.sh | |
| parent | 8f0d09f4c5bfb8b09757c3dbdb6d29061f0405d4 (diff) | |
adding countries to citation feed / geocode step
Diffstat (limited to 'scraper/pdf_dump_first_page.sh')
| -rw-r--r-- | scraper/pdf_dump_first_page.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/scraper/pdf_dump_first_page.sh b/scraper/pdf_dump_first_page.sh deleted file mode 100644 index 20e5182d..00000000 --- a/scraper/pdf_dump_first_page.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -for i in datasets/s2/pdf/*/*/*.pdf - do - OUTPUT="${i%.*}.txt" - if [[ ! -e $OUTPUT ]] - then - pdf2txt.py -p 1 $i > $OUTPUT - if [ -s $OUTPUT ] - then - echo "found $OUTPUT" - else - echo "rm empty $OUTPUT" - rm -f $OUTPUT - fi - fi - done |
