This commit is contained in:
2025-08-15 12:03:31 +02:00
parent b8de81a302
commit 4cb989db86
3 changed files with 149 additions and 2 deletions

4
check_Names_and_Paths.sh Normal file → Executable file
View File

@ -58,7 +58,7 @@ do
###### check extension ######
ext="${filename##*.}"
if [ "$ext" != "mkv" ] && [ "$ext" != "mp4" ]
if [ "$ext" != "mkv" ] && [ "$ext" != "mp4" ] && [ "$ext" != "nfo" ]
then
echo "Incident: Incorrect extension: $file"
fi
@ -117,7 +117,7 @@ for show in tvshows/*; do
###### check extension ######
ext="${episodename##*.}"
if [ "$ext" != "mkv" ] && [ "$ext" != "mp4" ]
if [ "$ext" != "mkv" ] && [ "$ext" != "mp4" ] && [ "$ext" != "nfo" ]
then
echo "Incident: Incorrect extension: $episode"
fi