source: other-projects/is-sheet-music-encore/trunk/java-gen-corpus/ValidIDListGen.sh@ 33031

Last change on this file since 33031 was 33031, checked in by cpb16, 5 years ago

Completed numpages checking. Generated makefiles and scripts to streamline process. Need to now fix 'no such file or directory error from the RUN-META.sh file'.

  • Property svn:executable set to *
File size: 390 bytes
Line 
1#!/bin/bash
2#Generates a List of IDs that have more than 10 pages to them
3if [ $# != 1 ] ; then
4 echo "Usage: ./ValidIDListGen type_var" 1>&2
5 exit 1
6fi
7
8type=$1
9output_list="HathiValidIDList-$type.txt"
10count=0
11
12rm HathiValidIDList-$type.txt
13
14for file in download-meta/*txt;
15do
16 java TabProcMetaListGen $file $output_list
17 count=$((count+1))
18 echo "Number of Files Processed: " $count
19done
Note: See TracBrowser for help on using the repository browser.