mirror of
https://github.com/Jonny007-MKD/OTR-SaneRename
synced 2025-01-22 08:49:48 +01:00
Merge branch 'master' of https://github.com/Jonny007-MKD/OTR-SaneRename
This commit is contained in:
commit
d3b4957ece
1 changed files with 17 additions and 0 deletions
17
testing/test.sh
Normal file
17
testing/test.sh
Normal 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;
|
Loading…
Reference in a new issue