mirror of
https://github.com/Jonny007-MKD/OTR-SaneRename
synced 2025-01-22 08:49:48 +01:00
17 lines
372 B
Bash
17 lines
372 B
Bash
|
#!/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;
|