root/main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/PREPARE-IMPORT.sh @ 33360

Revision 33360, 507 bytes (checked in by davidb, 2 months ago)

Code tidy-up and change of input/output filenanme

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3if [ ! -d for-download ] ; then
4  echo "Creating directory: for-download"
5  mkdir for-download
6fi
7
8echo "Generating sanitized CSV version of spreadsheet suitable for download through DL"
9python prepare/xls-to-sanitized-csv.py \
10  "import/Archaeological-report-PDFs-2019-07-24.xls" \
11  "for-download/Archaeological-Reports-24-July-2019.csv"
12
13echo "Generating PDF-Bound and Unbound CSV files for use in import.pl"
14python prepare/xls-to-csv.py "import/Archaeological-report-PDFs-2019-07-24.xls"
15
16
Note: See TracBrowser for help on using the browser.