Przeglądaj źródła

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

Zachary Kotlarek 13 lat temu
rodzic
commit
30db422e13
1 zmienionych plików z 1 dodań i 1 usunięć
  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