Last change
on this file since 33248 was 33248, checked in by davidb, 5 years ago |
Test and create for-download directory if needed
|
-
Property svn:executable
set to
*
|
File size:
590 bytes
|
Rev | Line | |
---|
[33029] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 |
|
---|
[33188] | 4 | #python prepare/xls-to-csv.py import/Report\ spreadsheet\ for\ website\ Feb\ 2019.xls
|
---|
| 5 |
|
---|
[33248] | 6 | if [ ! -d for-download ] ; then
|
---|
| 7 | echo "Creating directory: for-download"
|
---|
| 8 | mkdir for-download
|
---|
| 9 | fi
|
---|
| 10 |
|
---|
[33188] | 11 | echo "Generating sanitized CSV version of spreadsheet suitable for download through DL"
|
---|
[33192] | 12 | python prepare/xls-to-sanitized-csv.py \
|
---|
| 13 | "import/Archaeological report PDFs 20190620.xlsx" \
|
---|
[33202] | 14 | "for-download/Archaeological-Reports-20190620.csv"
|
---|
[33188] | 15 |
|
---|
| 16 | echo "Generating PDF-Bound and Unbound CSV files for use in import.pl"
|
---|
| 17 | python prepare/xls-to-csv.py "import/Archaeological report PDFs 20190620.xlsx"
|
---|
| 18 |
|
---|
| 19 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.