blog

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5afb2b98ba8a3ad77e8fbeb920200094da6ad5ad
parent 00f4e2398d8e92054d06f99cc87354b6c3e6ae12
Author: Andrew Laack <andrew@laack.co>
Date:   Wed, 17 Sep 2025 15:52:08 -0500

Updating for distribution

Diffstat:
Mpython/youtube/urls/start.sh | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/python/youtube/urls/start.sh b/python/youtube/urls/start.sh @@ -1,15 +1,18 @@ #!/bin/bash +# This will interlace to allow running on two system +# concurrently. Assuming start is set to 500,000 on the other system + START=0 END=8000000 -STEP=50000 +STEP=500000 while [ $START -lt $END ]; do NEXT=$((START + STEP)) printf -v START_PADDED "%07d" $START echo "Running: python3 read_and_check.py $START_PADDED $NEXT &" python3 read_and_check.py "$START_PADDED" "$NEXT" & - START=$NEXT + START=$NEXT + STEP done wait