#!/bin/sh
cd "$(cd "$(dirname "$0")" && pwd)"
mkdir old
chmod +x xdelta3
./xdelta3 -v -d -s "Hanayamata - S01E01.mkv" "vcdiff/Hanayamata - S01E01.mkv.vcdiff" "Hanayamata - S01E01_Jpn.mkv"
mv "Hanayamata - S01E01.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E02.mkv" "vcdiff/Hanayamata - S01E02.mkv.vcdiff" "Hanayamata - S01E02_Jpn.mkv"
mv "Hanayamata - S01E02.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E03.mkv" "vcdiff/Hanayamata - S01E03.mkv.vcdiff" "Hanayamata - S01E03_Jpn.mkv"
mv "Hanayamata - S01E03.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E04.mkv" "vcdiff/Hanayamata - S01E04.mkv.vcdiff" "Hanayamata - S01E04_Jpn.mkv"
mv "Hanayamata - S01E04.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E05.mkv" "vcdiff/Hanayamata - S01E05.mkv.vcdiff" "Hanayamata - S01E05_Jpn.mkv"
mv "Hanayamata - S01E05.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E06.mkv" "vcdiff/Hanayamata - S01E06.mkv.vcdiff" "Hanayamata - S01E06_Jpn.mkv"
mv "Hanayamata - S01E06.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E07.mkv" "vcdiff/Hanayamata - S01E07.mkv.vcdiff" "Hanayamata - S01E07_Jpn.mkv"
mv "Hanayamata - S01E07.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E08.mkv" "vcdiff/Hanayamata - S01E08.mkv.vcdiff" "Hanayamata - S01E08_Jpn.mkv"
mv "Hanayamata - S01E08.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E09.mkv" "vcdiff/Hanayamata - S01E09.mkv.vcdiff" "Hanayamata - S01E09_Jpn.mkv"
mv "Hanayamata - S01E09.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E10.mkv" "vcdiff/Hanayamata - S01E10.mkv.vcdiff" "Hanayamata - S01E10_Jpn.mkv"
mv "Hanayamata - S01E10.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E11.mkv" "vcdiff/Hanayamata - S01E11.mkv.vcdiff" "Hanayamata - S01E11_Jpn.mkv"
mv "Hanayamata - S01E11.mkv" old
./xdelta3 -v -d -s "Hanayamata - S01E12.mkv" "vcdiff/Hanayamata - S01E12.mkv.vcdiff" "Hanayamata - S01E12_Jpn.mkv"
mv "Hanayamata - S01E12.mkv" old
