2014-10-30 08:49:07 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2014-11-03 11:04:34 +01:00
|
|
|
#srArgs="-d"
|
2014-10-30 08:49:07 +01:00
|
|
|
|
2015-03-12 22:31:55 +01:00
|
|
|
declare -A files
|
|
|
|
|
2014-11-03 11:04:34 +01:00
|
|
|
files=(
|
2015-03-12 22:31:55 +01:00
|
|
|
["Bibi_Blocksberg_15.03.07_08-30_zdf_30_TVOON_DE.mpg.avi"]="Bibi.Blocksberg..S01E06..Bibi.im.Dschungel.avi" # Remove 3 words from the beginning
|
2014-11-03 11:04:34 +01:00
|
|
|
);
|
2014-10-30 08:49:07 +01:00
|
|
|
|
|
|
|
|
|
|
|
i=0
|
2015-03-12 22:31:55 +01:00
|
|
|
for file in "${!files[@]}"; do
|
|
|
|
echo -e "\033[37m${file}";
|
|
|
|
result="$(./saneRenamix.sh $srArgs -s -f "$file")";
|
|
|
|
if [ "$result" != "${files["$file"]}" ]; then
|
|
|
|
echo -e "\033[31m$file -> $result";
|
|
|
|
echo "'$result' != '${files[$file]}'";
|
2014-10-30 08:49:07 +01:00
|
|
|
fi
|
|
|
|
i=$(($i+1));
|
2014-11-03 11:04:34 +01:00
|
|
|
done;
|