source: main/trunk/model-sites-dev/von-sparql/collect/nz-natlib-cat/pre-import/RUN_NZ_DEFAULT.sh@ 28787

Last change on this file since 28787 was 28787, checked in by ak19, 8 years ago

Scripts to run Java code. DEFAULT one takes no command-line arguments, and goes with whatever the defaults in the Java code are

  • Property svn:executable set to *
File size: 384 bytes
Line 
1#!/bin/bash
2
3echo " => Running splitter script with default values"
4echo " - Number records per file: 250"
5echo " - Output Directory: './out/nz_out'"
6
7read -p " => ./out/nz_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/nz_out
14mkdir out
15mkdir out/nz_out/
16sh ./RUN_NZ.sh 250 ./nz_out
Note: See TracBrowser for help on using the repository browser.