Преглед изворни кода

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

Zachary Kotlarek пре 13 година
родитељ
комит
30db422e13
1 измењених фајлова са 1 додато и 1 уклоњено
  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