1
0
Fork 0
mirror of https://github.com/Jonny007-MKD/OTR-SaneRename synced 2024-05-02 20:54:04 +02:00
This commit is contained in:
Jonny007-MKD 2014-11-03 10:02:42 +01:00
commit d3b4957ece

17
testing/test.sh Normal file
View file

@ -0,0 +1,17 @@
#!/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;