X-Git-Url: http://git.scottworley.com/picsort/blobdiff_plain/95201e91c133b88c97fd23d56481aa47ca161ccf..1eb4e1cbe9f5da808fcf62aa42d298bb9f0d710f:/pics-preprocess diff --git a/pics-preprocess b/pics-preprocess index ec66abf..9d0b42f 100755 --- a/pics-preprocess +++ b/pics-preprocess @@ -9,6 +9,7 @@ MINFREESPACE=$((10 * 1024 * 1024)) # 10GiB in KiB SMALLHEIGHT=700 renice -n 19 $$ +ionice -c 3 -p $$ for f;do if (( "$(df -k . | awk 'NR == 2 { print $4 }')" < $MINFREESPACE ));then