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

Last change on this file since 28921 was 28921, checked in by ak19, 10 years ago

Tweak to run more smoothly

  • Property svn:executable set to *
File size: 410 bytes
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 repository browser.