fsgrep |
For either of these scripts, change the location of the jar file to match the location you saved it on your system.
Unix: save as fsgrep in /usr/local/bin (or anywhere in you PATH) | download |
#!/bin/sh #------------------------------------------------------------------------------ # Run script for fsgrep. #------------------------------------------------------------------------------ # Change the following to be the correct location. jar="/cvs/fsgrep/build/fsgrep3.0.0.jar" if [ ! -f "${jar}" ]; then echo "ERROR: [${jar}] does not exist." exit fi if [ -n "${JAVA_HOME}" ]; then javaexe="${JAVA_HOME}/bin/java" else javaexe="java" fi cmd="${javaexe} -jar ${jar} $*" ${cmd} |
|
Windows: save as fsgrep.bat in C:\WINNT\system32 (or anywhere in you PATH) | download |
@echo off rem Change the following to be the correct location. set jar=C:\cvs\fsgrep\build\fsgrep3.0.0.jar %JAVA_HOME%\bin\java -jar %jar% %* |