Parcourir la source

Only recode files

Zachary Kotlarek il y a 14 ans
Parent
commit
ae0947db82
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      findRecode

+ 1 - 1
findRecode

@@ -38,7 +38,7 @@ fi
 
 # Find large video files
 # Later tests exclude Handbrake-encoded files
-FILES="`find "${FOLDER}" -maxdepth 1 -size "+${MIN_SIZE}" | grep -iE "${NAME_REGEX}"`"
+FILES="`find "${FOLDER}" -type f -maxdepth 1 -size "+${MIN_SIZE}" | grep -iE "${NAME_REGEX}"`"
 
 # Loop with newline-as-IFS
 OLDIFS="${IFS}"