jung/downloads/08-developmental/en-rounds.sh
Dmitry Kokorin 9805eabf2c sec08 FULLY COMPLETE: 48 books (20 ✅/1 🔶/27 ❌), 44 files (333 MB: EN 31 + RU 13)
Research (Phase 0-2): 28 new dossiers + 8 updated; RSL/libgen/flib/castalia/alib/rutitles sweeps;
5 RU rescues (CW4 АСТ 2021, Калшед Когито 2015, Нойманн «Ребёнок» Касталия 2026,
Фордхэм «Дети как личности» Касталия-предзаказ, Герман Бомбора 2022); Blos trap documented
(RU «Психоанализ подросткового возраста» = The Young Adolescent, NOT On Adolescence).

Downloads (content-verified, mislinked/review files discarded: 08/14/18/27/30/38 reviews,
33 JAPA article, 2 md5 dups):
- EN 31: libgen queue (en-queue.sh tries=3 + 25-min cooldown rounds) + ia (CW4 Princeton,
  Freud SE 24 vol. for items 19/20); EN gaps: 15/24/39 absent, 14/18/38 ia-restricted,
  08/27/30/33 review-fragment-only, 25 absent
- RU 13: flib ×7 + libgen ×6; RU gaps: 25 (no file), 08 (preorder)

Docs: 48 cards CANON v3 (linter 0), MANIFEST 48 per-item blocks, MISSING 27❌/1🔶,
SUMMARY at-a-glance; xref stale-check 0; migrate_cards_v3.py: +rtf to fname_re
2026-09-26 21:48:43 +03:00

20 lines
703 B
Bash
Executable file

#!/bin/bash
cd /home/dima/jung
D=downloads/08-developmental
for round in 1 2 3 4 5 6; do
echo "=== ROUND $round $(date)" >> "$D/en-rounds.log"
bash "$D/en-queue.sh"
remaining=0
while read -r f_id ed_id name; do
[ -z "$f_id" ] && continue
ls "$D/$name"*.pdf "$D/$name"*.epub "$D/$name"*.fb2 "$D/$name"*.doc "$D/$name"*.rtf >/dev/null 2>&1 || remaining=$((remaining+1))
done < "$D/en-queue.txt"
echo "round $round done, remaining=$remaining $(date)" >> "$D/en-rounds.log"
if [ "$remaining" -eq 0 ]; then
echo "ALL DONE" >> "$D/en-rounds.log"
break
fi
echo "cooldown 25 min" >> "$D/en-rounds.log"
sleep 1500
done
echo "=== ROUNDS COMPLETE $(date)" >> "$D/en-rounds.log"