#!/bin/sh
cd "$(cd "$(dirname "$0")" && pwd)"
mkdir old
chmod +x xdelta3
./xdelta3 -v -d -s "[LostYears] Parallel World Pharmacy - S01E06 (WEB 1080p x264 AAC) [26F3F988].mkv" "vcdiff/[LostYears] Parallel World Pharmacy - S01E06 (WEB 1080p x264 AAC) [26F3F988].mkv.vcdiff" "[LostYears] Parallel World Pharmacy - S01E06v2 (WEB 1080p x264 AAC) [B6972062].mkv"
mv "[LostYears] Parallel World Pharmacy - S01E06 (WEB 1080p x264 AAC) [26F3F988].mkv" old
./xdelta3 -v -d -s "[LostYears] Parallel World Pharmacy - S01E07 (WEB 1080p x264 AAC) [1226ADF9].mkv" "vcdiff/[LostYears] Parallel World Pharmacy - S01E07 (WEB 1080p x264 AAC) [1226ADF9].mkv.vcdiff" "[LostYears] Parallel World Pharmacy - S01E07v2 (WEB 1080p x264 AAC) [AFC4F821].mkv"
mv "[LostYears] Parallel World Pharmacy - S01E07 (WEB 1080p x264 AAC) [1226ADF9].mkv" old
./xdelta3 -v -d -s "[LostYears] Parallel World Pharmacy - S01E08 (WEB 1080p x264 AAC) [C1DEB11E].mkv" "vcdiff/[LostYears] Parallel World Pharmacy - S01E08 (WEB 1080p x264 AAC) [C1DEB11E].mkv.vcdiff" "[LostYears] Parallel World Pharmacy - S01E08v2 (WEB 1080p x264 AAC) [27D3B30A].mkv"
mv "[LostYears] Parallel World Pharmacy - S01E08 (WEB 1080p x264 AAC) [C1DEB11E].mkv" old
./xdelta3 -v -d -s "[LostYears] Parallel World Pharmacy - S01E09 (WEB 1080p x264 AAC) [5A521D54].mkv" "vcdiff/[LostYears] Parallel World Pharmacy - S01E09 (WEB 1080p x264 AAC) [5A521D54].mkv.vcdiff" "[LostYears] Parallel World Pharmacy - S01E09v2 (WEB 1080p x264 AAC) [60205C00].mkv"
mv "[LostYears] Parallel World Pharmacy - S01E09 (WEB 1080p x264 AAC) [5A521D54].mkv" old
./xdelta3 -v -d -s "[LostYears] Parallel World Pharmacy - S01E10 (WEB 1080p x264 AAC) [56BB3A80].mkv" "vcdiff/[LostYears] Parallel World Pharmacy - S01E10 (WEB 1080p x264 AAC) [56BB3A80].mkv.vcdiff" "[LostYears] Parallel World Pharmacy - S01E10v2 (WEB 1080p x264 AAC) [7BCC68D7].mkv"
mv "[LostYears] Parallel World Pharmacy - S01E10 (WEB 1080p x264 AAC) [56BB3A80].mkv" old
./xdelta3 -v -d -s "[LostYears] Parallel World Pharmacy - S01E01 (WEB 1080p x264 AAC).mkv" "vcdiff/[LostYears] Parallel World Pharmacy - S01E01 (WEB 1080p x264 AAC).mkv.vcdiff" "[LostYears] Parallel World Pharmacy - S01E01v2 (WEB 1080p x264 AAC) [65513B4A].mkv"
mv "[LostYears] Parallel World Pharmacy - S01E01 (WEB 1080p x264 AAC).mkv" old
./xdelta3 -v -d -s "[LostYears] Parallel World Pharmacy - S01E02 (WEB 1080p x264 AAC) [62A647A4].mkv" "vcdiff/[LostYears] Parallel World Pharmacy - S01E02 (WEB 1080p x264 AAC) [62A647A4].mkv.vcdiff" "[LostYears] Parallel World Pharmacy - S01E02v2 (WEB 1080p x264 AAC) [121AC294].mkv"
mv "[LostYears] Parallel World Pharmacy - S01E02 (WEB 1080p x264 AAC) [62A647A4].mkv" old
./xdelta3 -v -d -s "[LostYears] Parallel World Pharmacy - S01E03 (WEB 1080p x264 AAC) [13A2D8E7].mkv" "vcdiff/[LostYears] Parallel World Pharmacy - S01E03 (WEB 1080p x264 AAC) [13A2D8E7].mkv.vcdiff" "[LostYears] Parallel World Pharmacy - S01E03v2 (WEB 1080p x264 AAC) [C65F7A25].mkv"
mv "[LostYears] Parallel World Pharmacy - S01E03 (WEB 1080p x264 AAC) [13A2D8E7].mkv" old
./xdelta3 -v -d -s "[LostYears] Parallel World Pharmacy - S01E04 (WEB 1080p x264 AAC) [74F7FD43].mkv" "vcdiff/[LostYears] Parallel World Pharmacy - S01E04 (WEB 1080p x264 AAC) [74F7FD43].mkv.vcdiff" "[LostYears] Parallel World Pharmacy - S01E04v2 (WEB 1080p x264 AAC) [13DA0223].mkv"
mv "[LostYears] Parallel World Pharmacy - S01E04 (WEB 1080p x264 AAC) [74F7FD43].mkv" old
./xdelta3 -v -d -s "[LostYears] Parallel World Pharmacy - S01E05 (WEB 1080p x264 AAC) [A7E92C31].mkv" "vcdiff/[LostYears] Parallel World Pharmacy - S01E05 (WEB 1080p x264 AAC) [A7E92C31].mkv.vcdiff" "[LostYears] Parallel World Pharmacy - S01E05v2 (WEB 1080p x264 AAC) [96AD587A].mkv"
mv "[LostYears] Parallel World Pharmacy - S01E05 (WEB 1080p x264 AAC) [A7E92C31].mkv" old
