1
0
Fork 0
mirror of https://github.com/Jonny007-MKD/OTR-SaneRename synced 2025-01-22 08:49:48 +01:00
OTR-SaneRename/testing/test.sh

17 lines
372 B
Bash
Raw Normal View History

2014-10-30 08:49:07 +01:00
#!/bin/bash
srArgs="-d"
files=( "Inspector_Barnaby_14.10.27_21-45_zdfneo_95_TVOON_DE.mpg.HQ.avi");
results=( "Inspector.Barnaby..S14E03..Sonstwas.HQ.avi");
i=0
while(i < ${#files[@]}); do
echo ${files[$i]};
result="$(../saneRenamix.sh $srArgs -s -f ${files[$i]})";
if [ "$result" != "${results[$i]}" ]; then
echo "${files[$i]} -> $result"
fi
i=$(($i+1));
done;