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

Last change on this file since 33360 was 33360, checked in by davidb, 5 years ago

Code tidy-up and change of input/output filenanme

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