Parent Directory | Revision Log
create spy directory if needed
1 | dpavlin | 42 | |
2 | dpavlin | 43 | dir=../share/web/static |
3 | dpavlin | 42 | |
4 | dpavlin | 43 | test -e $dir || exit 1 |
5 | |||
6 | dpavlin | 110 | test -d $dir/spy || mkdir $dir/spy |
7 | |||
8 | dpavlin | 43 | cat dbs.txt | xargs -i java -jar schemaSpy_3.1.1.jar -cp /usr/share/java/postgresql.jar -t pgsql -host localhost -u dpavlin -db {} -s public -o $dir/spy/{} -desc '<a href\="/">back to SQLSession</a>' |
9 | |||
10 | # remove extra links to sourcefourge.net which seem to confuse my students :-) | ||
11 | perl -p -i -n -e 's/<(a|li|td|tr|span).+sourceforge.net.+\1>//ig' $dir/spy/*/*.html $dir/spy/*/*/*.html | ||
12 | perl -p -i -n -e 's/Please.+this project//i' $dir/spy/*/*.html $dir/spy/*/*/*.html |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |