Parcourir la source

Ignore ._ files when recoding. Typically these are ignored by size, but ignore them explictly in case the size is set low.

Zachary Kotlarek il y a 13 ans
Parent
commit
30db422e13
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      findRecode

+ 1 - 1
findRecode

@@ -46,7 +46,7 @@ IFS=$'\n'
 for i in ${FILES}; do
 
 	# Skip invalid files
-	if [ -z "${i}" ] || [ ! -r "${i}" ]; then
+	if [ -z "${i}" ] || [ ! -r "${i}" ] || basename "${i}" | grep -q '^\._'; then
 		continue
 	fi