From 1334c993e492f9a4fe057246df36f40c6093a0bc Mon Sep 17 00:00:00 2001 From: Nulo Date: Wed, 1 Dec 2021 13:16:51 -0300 Subject: [PATCH] Guardar en datos/ --- archivador.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/archivador.sh b/archivador.sh index 4a7ee10..02f5fc2 100755 --- a/archivador.sh +++ b/archivador.sh @@ -27,9 +27,12 @@ if test -f lista-paginas.zst; then echo "> Separando en varias listas..." rm -f TMP-lista-shard-* lua otros-scripts/shard.lua 64 < ./lista-paginas + echo "> Empezando a descargar..." + mkdir -p datos + cd datos/ for lista in TMP-lista-shard-*; do - wget --header='accept-encoding: br' --no-verbose --no-clobber --input-file="$lista" --restrict-file-names=nocontrol & + wget --header='accept-encoding: br' --no-verbose --no-clobber --input-file="../$lista" --restrict-file-names=nocontrol & done else echo "No tengo ninguna lista para descargar. ¡Chau!"