Browse Source

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

Zachary Kotlarek 13 năm trước cách đây
mục cha
commit
30db422e13
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  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