Przeglądaj źródła

Only count .m[k4]v output files when syncing

Zachary Kotlarek 11 lat temu
rodzic
commit
8b427dc33b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      sync/sync.sh

+ 1 - 1
sync/sync.sh

@@ -105,7 +105,7 @@ for infile in $FILES; do
 	IFS="${OLD_IFS}"
 	IFS="${OLD_IFS}"
 
 
 	# Skip video files that exist
 	# Skip video files that exist
-	if ls "${OUT_DIR}/${nobase}".* >/dev/null 2>&1; then
+	if ls "${OUT_DIR}/${nobase}.m"[4k]v >/dev/null 2>&1; then
 		if [ $DEBUG -gt 0 ]; then
 		if [ $DEBUG -gt 0 ]; then
 			echo "Exists: ${SUB_DIR}/${infile}" 1>&2
 			echo "Exists: ${SUB_DIR}/${infile}" 1>&2
 		fi
 		fi