From: Grant Slater Date: Mon, 30 May 2016 16:40:41 +0000 (+0100) Subject: imagery: osstvw_make_diffs only trim files <180KB X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/7f749a74a9c1ac21238ace20c80abc2b07bbdb50 imagery: osstvw_make_diffs only trim files <180KB --- 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