echo off


java -classpath %CLASSPATH%;%CLS% org.opengion.fukurou.process.MainProcess	^
	org.opengion.fukurou.process.Process_FileSearch			^
		-start=%FROM1%										^
		-inPath=%FROM1%										^
		-suffix=".sql|.xml"									^
		-useOmitCmnt=true									^
		-useMD5=true										^
		-encode=UTF-8										^
		#-display=true										^
	org.opengion.fukurou.process.Process_TableWriter		^
		-outfile=%BASEDIR%\FROM1.txt						^
	#org.opengion.fukurou.process.Process_FileCopy			^
		#-inPath=%FROM1%									^
		#-outPath=%BASEDIR%\f1\%OUTPATH%					^
		#-useOmitCmnt=true									^
 		#-inEncode=UTF-8									^
 		#-outEncode=UTF-8									^
		#-keepTimeStamp=true


java -classpath %CLASSPATH%;%CLS% org.opengion.fukurou.process.MainProcess	^
	org.opengion.fukurou.process.Process_FileSearch			^
		-start=%FROM2%										^
		-inPath=%FROM2%										^
		-suffix=".sql|.xml"									^
		-useOmitCmnt=true									^
		-useMD5=true										^
		-encode=UTF-8										^
		#-display=true										^
	org.opengion.fukurou.process.Process_TableWriter		^
		-outfile=%BASEDIR%\FROM2.txt						^
	#org.opengion.fukurou.process.Process_FileCopy			^
		#-inPath=%FROM2%									^
		#-outPath=%BASEDIR%\f2\%OUTPATH%					^
		#-useOmitCmnt=true									^
 		#-inEncode=UTF-8									^
 		#-outEncode=UTF-8									^
		#-keepTimeStamp=true

echo FROM1.txt と FROM2.txt を比較し、FROM1 と FROM2 の差を抽出します。
rem そのとき、比較キーは、共通化した、BIKO 欄を指定します。
java -classpath %CLASSPATH%;%CLS% org.opengion.fukurou.process.MainProcess	^
	org.opengion.fukurou.process.Process_TableDiff			^
		-infile1=%BASEDIR%\FROM2.txt						^
		-infile2=%BASEDIR%\FROM1.txt						^
		-action=DIFF										^
		-keyClms=Biko										^
		-diffClms=MD5										^
		#-debug=true										^
		#-display=true										^
	org.opengion.fukurou.process.Process_TableWriter		^
		-outfile=%BASEDIR%\diff2_log.txt					^
	org.opengion.fukurou.process.Process_FileCopy			^
		-inPath=%FROM2%										^
		-binary=true										^
		#-inEncode=UTF-8									^
		-outPath=%BASEDIR%\%OUTPATH%						^
		#-outEncode=UTF-8									^
		-keepTimeStamp=true

echo FROM1.txt と FROM2.txt を比較し、FROM1 のみに存在するファイルを抽出します。
rem そのとき、比較キーは、共通化した、BIKO 欄を指定します。
java -classpath %CLASSPATH%;%CLS% org.opengion.fukurou.process.MainProcess	^
	org.opengion.fukurou.process.Process_TableDiff			^
		-infile1=%BASEDIR%\FROM1.txt						^
		-infile2=%BASEDIR%\FROM2.txt						^
		-action=ONLY										^
		-keyClms=Biko										^
		-diffClms=MD5										^
		#-debug=true										^
		#-display=true										^
	org.opengion.fukurou.process.Process_TableWriter		^
		-outfile=%BASEDIR%\only1.txt

echo FROM1.txt と FROM2.txt を比較し、FROM2 のみに存在するファイルを抽出します。
rem そのとき、比較キーは、共通化した、BIKO 欄を指定します。
java -classpath %CLASSPATH%;%CLS% org.opengion.fukurou.process.MainProcess	^
	org.opengion.fukurou.process.Process_TableDiff			^
		-infile1=%BASEDIR%\FROM2.txt						^
		-infile2=%BASEDIR%\FROM1.txt						^
		-action=ONLY										^
		-keyClms=Biko										^
		-diffClms=MD5										^
		#-debug=true										^
		#-display=true										^
	org.opengion.fukurou.process.Process_TableWriter		^
		-outfile=%BASEDIR%\only2.txt

