You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
612 B
Bash

1 year ago
#!/bin/bash
1 year ago
# Download the text of a pad
wget https://pad.xpub.nl/p/radioworm-20231107/export/txt -O radioworm-20231107.pad.txt
1 year ago
# convert the pad to a CSV
python3 scripts/split-urls-csv.py < radioworm-20231107.pad.txt | \
python3 scripts/csv-add-end.py > radioworm-20231107.csv
1 year ago
# Filter the CSV with a keyword
csvgrep -c text -m "#intro" radioworm-20231107.csv > radioworm-20231107.intro.csv
1 year ago
# Generate a shell script
python3 scripts/csv-to-melt.py < radioworm-20231107.intro.csv > edit.sh
1 year ago
# Get the source
wget https://hub.xpub.nl/chopchop/worm/xpub/radioworm-20231107.ogg
1 year ago
# Perform the edit
bash edit.sh