Browse Source

Use env var P to download less

master
Perception 3 months ago
parent
commit
21cfc1b157
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      bin/download-all

+ 2
- 1
bin/download-all View File

@ -1,9 +1,10 @@
#!/bin/bash
P=${P:-0}
sections=(featured-stories world us society insight jewish-problem race-war)
#sections=(society insight jewish-problem race-war)
#sections=(insight jewish-problem race-war)
for s in ${sections[@]} ; do
touch log/$s.seen
bin/scan -t section $s
bin/scan -p $P -t section $s
done

Loading…
Cancel
Save