Parent Directory | Revision Log
support for all LIBRI, separate configuraiton files, script for test of config files
1 | dpavlin | 1.1 | #!/bin/sh |
2 | |||
3 | md5=/local/isis_data.md5 | ||
4 | dir='/var/autofs/misc/isis_data/??/LIBRI/LIBRI.MST' | ||
5 | |||
6 | umask 002 | ||
7 | |||
8 | cat /local/search/databases.cf | grep database-name | grep -v "^#" | cut -d: -f2 | cut -d= -f1 | xargs -i /local/isis2stream.pl -d {} | ||
9 | |||
10 | dpavlin | 1.3 | /local/isis2stream.pl -d sf -m blanka,dubravka,miroslav |
11 | dpavlin | 1.2 | |
12 | dpavlin | 1.1 | exit 0; |
13 | |||
14 | ##--- this doesn't work if you change database.cf!! | ||
15 | |||
16 | if [ -e "$md5" ] ; then | ||
17 | |||
18 | md5sum -c $md5 2>&1 | cut -d/ -f6 | xargs -i /local/isis2stream.pl -d {} | ||
19 | md5sum $dir > $md5 | ||
20 | |||
21 | else | ||
22 | |||
23 | ( cat /local/search/databases.cf | grep database-name | grep -v "^#" | cut -d: -f2 | cut -d= -f1 | xargs -i /local/isis2stream.pl -d {} ) && md5sum $dir > $md5 | ||
24 | |||
25 | fi |
ViewVC Help | |
Powered by ViewVC 1.1.26 |