next
This commit is contained in:
4
check_Names_and_Paths.sh
Normal file → Executable file
4
check_Names_and_Paths.sh
Normal file → Executable 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
|
||||
|
Reference in New Issue
Block a user