root/main/trunk/model-sites-dev/von-sparql/collect/nz-natlib-cat/pre-import/RUN_HATHI_DEFAULT.sh @ 28921

Revision 28921, 410 bytes (checked in by ak19, 6 years ago)

Tweak to run more smoothly

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3echo " => Running splitter script with default values"
4echo "    - Number records per file: 1000"
5echo "    - Output Directory: './out/hathi_out'"
6
7read -p " => ./out/hathi_out will be deleted, OK? (y/n) " choice
8case "$choice" in
9  y|Y ) echo " => Creating/Clearing output folder";;
10  * ) exit 0;;
11esac
12
13rm -r out/hathi_out/*
14mkdir out
15mkdir out/hathi_out/
16sh ./RUN_HATHI.sh 1000 ./out/hathi_out
Note: See TracBrowser for help on using the browser.