zeio/patch
Patch Threads pulled from 2ch To synchronize the threads: python -m much sync -i assets/patch/index.tsv -p assets/patch/threads -t assets/orphan python -m much sort -s assets/patch/index.tsv -d assets/patch/index.tsv -t assets/patch/threads
01k
1#!/bin/bash2 3echo Number of threads in the 'threads' folder: $(tree threads | tail -n 1 | cut -d ' ' -f3)4 5for folder in threads/*; do6 suffix=$(echo $folder | cut -d '/' -f 2)7 echo " In folder $suffix: $(ls $folder | wc -l) ($(cat index.tsv | grep $suffix | wc -l) are found in index.tsv)"8done9 10n_rows_in_index=$(cat index.tsv | wc -l)11echo Number of threads in the 'index.tsv' file: $((n_rows_in_index - 1))12 