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
|
---|
3 | if [ $# != 1 ] ; then
|
---|
4 | echo "Usage: ./ValidIDListGen type_var" 1>&2
|
---|
5 | exit 1
|
---|
6 | fi
|
---|
7 |
|
---|
8 | type=$1
|
---|
9 | output_list="HathiValidIDList-$type.txt"
|
---|
10 | count=0
|
---|
11 |
|
---|
12 | rm HathiValidIDList-$type.txt
|
---|
13 |
|
---|
14 | for file in download-meta/*txt;
|
---|
15 | do
|
---|
16 | java TabProcMetaListGen $file $output_list
|
---|
17 | count=$((count+1))
|
---|
18 | echo "Number of Files Processed: " $count
|
---|
19 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.