From 7f749a74a9c1ac21238ace20c80abc2b07bbdb50 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 30 May 2016 17:40:41 +0100 Subject: [PATCH] imagery: osstvw_make_diffs only trim files <180KB --- cookbooks/imagery/files/default/osstvw_make_diffs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/imagery/files/default/osstvw_make_diffs b/cookbooks/imagery/files/default/osstvw_make_diffs index 5dbfec703..109545025 100644 --- a/cookbooks/imagery/files/default/osstvw_make_diffs +++ b/cookbooks/imagery/files/default/osstvw_make_diffs @@ -61,7 +61,7 @@ for (( i=0; i<${OSSV_EDITIONS_LENGTH}; i++ )); do sleep 1 # this is not optimal, but you can't use wait here running=($(jobs -rp)) done - done < <(find "${OSSV_DIFF_NAME}" -maxdepth 1 -name '*.tif' -printf '%f\0') + done < <(find "${OSSV_DIFF_NAME}" -maxdepth 1 -name '*.tif' -size -180000 -printf '%f\0') fi done done -- 2.39.5