Explorar el Código

save-to-eye: stop if stop file is present

master
Ivan Kozik hace 1 mes
padre
commit
220db19dd6
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      save-to-eye

+ 5
- 0
save-to-eye Ver fichero

@@ -35,6 +35,11 @@ cat ~/eye-control/download-parallelism || echo -n 50 > ~/eye-control/download-pa
mkdir -p -- "$complete_dir"

while read i; do
if [[ -f ~/eye-control/stop ]]; then
echo "exiting because stop file is present"
exit 1
fi

echo -E $i

eye_path=$(path-to-eye-path "$i" | sed -r "s,$HOME/stash/,,g")


Cargando…
Cancelar
Guardar