Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (12 sloc) 799 Bytes
#!/bin/sh
echo "***********************************************************************"
echo "* This shell script will compact and reorganize the Ngp NRS database. *"
echo "* This process can take a long time. Do not interrupt the script *"
echo "* or shutdown the computer until it finishes. *"
echo "* *"
echo "* To compact the database used while in a desktop mode, i.e. located *"
echo "* under ~/.ngp/ , invoke this script as: *"
echo "* ./compact.sh -Dngp.runtime.mode=desktop *"
echo "***********************************************************************"
java -Xmx1024m -cp "classes:lib/*:conf" $@ ngp.tools.CompactDatabase
exit $?
You can’t perform that action at this time.