Guardar en datos/
This commit is contained in:
parent
f2184e25eb
commit
1334c993e4
1 changed files with 4 additions and 1 deletions
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue